|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.dialog.ApplicationDialog
org.springframework.richclient.dialog.TitledApplicationDialog
public abstract class TitledApplicationDialog
Field Summary |
---|
Fields inherited from class org.springframework.richclient.dialog.ApplicationDialog |
---|
DEFAULT_CANCEL_COMMAND_ID, DEFAULT_FINISH_COMMAND_ID, DEFAULT_FINISH_SUCCESS_MESSAGE_KEY, DEFAULT_FINISH_SUCCESS_TITLE_KEY, logger, SUCCESS_FINISH_MESSAGE_KEY, SUCCESS_FINISH_TITLE_KEY |
Fields inherited from interface org.springframework.richclient.dialog.Messagable |
---|
MESSAGE_PROPERTY |
Constructor Summary | |
---|---|
TitledApplicationDialog()
|
|
TitledApplicationDialog(String title,
Window parent)
|
|
TitledApplicationDialog(String title,
Window parent,
CloseAction closeAction)
|
Method Summary | |
---|---|
protected void |
addDialogComponents()
Subclasses may override to customize how this dialog is built. |
void |
addPropertyChangeListener(PropertyChangeListener listener)
Register a listener to all properties of this publisher. |
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Register a listener to a specific property. |
protected JComponent |
createDialogContentPane()
Return the GUI which allows the user to manipulate the business objects related to this dialog. |
protected abstract JComponent |
createTitledDialogContentPane()
|
protected void |
disposeDialogContentPane()
Dispose of the dialog content. |
protected Message |
getDescription()
|
Message |
getMessage()
|
protected Image |
getTitlePaneImage()
|
protected String |
getTitlePaneTitle()
|
boolean |
isMessageShowing()
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove the listener from all properties of this publisher. |
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Remove the listener from a specific property. |
void |
setCaption(String shortDescription)
|
protected void |
setContentPane(JComponent c)
|
void |
setDescription(String description)
|
void |
setImage(Image image)
|
void |
setMessage(Message message)
Set the message. |
void |
setTitlePaneImage(Image image)
|
void |
setTitlePaneTitle(String titleAreaText)
|
Methods inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor |
---|
getActiveWindow, getApplication, getApplicationContext, getApplicationName, getApplicationServices, getCommandConfigurer, getComponentFactory, getConversionService, getIconSource, getImageSource, getMessage, getMessage, getMessage, getMessage, getMessages, getMessageSource, getObjectConfigurer, getService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TitledApplicationDialog()
public TitledApplicationDialog(String title, Window parent)
public TitledApplicationDialog(String title, Window parent, CloseAction closeAction)
Method Detail |
---|
public void setCaption(String shortDescription)
setCaption
in interface DescriptionConfigurable
public void setDescription(String description)
setDescription
in interface DescriptionConfigurable
public void setTitlePaneTitle(String titleAreaText)
protected String getTitlePaneTitle()
public void setTitlePaneImage(Image image)
protected Image getTitlePaneImage()
public void setImage(Image image)
setImage
in interface ImageConfigurable
public Message getMessage()
public void setMessage(Message message)
Messagable
setMessage
in interface Messagable
public boolean isMessageShowing()
protected Message getDescription()
protected void setContentPane(JComponent c)
protected void addDialogComponents()
ApplicationDialog
addDialogComponents
in class ApplicationDialog
protected JComponent createDialogContentPane()
OK
and Cancel
buttons, in a standard manner.
Any components/objects created at this point need to be disposed in
ApplicationDialog.disposeDialogContentPane()
.
createTitledDialogContentPane()
to add your custom components.
createDialogContentPane
in class ApplicationDialog
ApplicationDialog.disposeDialogContentPane()
protected abstract JComponent createTitledDialogContentPane()
protected void disposeDialogContentPane()
disposeDialogContentPane
in class ApplicationDialog
ApplicationDialog.createDialogContentPane()
,
ApplicationDialog.dispose()
public void addPropertyChangeListener(PropertyChangeListener listener)
PropertyChangePublisher
addPropertyChangeListener
in interface PropertyChangePublisher
listener
- the PropertyChangeListener
to register.public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
PropertyChangePublisher
addPropertyChangeListener
in interface PropertyChangePublisher
propertyName
- the property to monitor.listener
- the PropertyChangeListener
to register.public void removePropertyChangeListener(PropertyChangeListener listener)
PropertyChangePublisher
removePropertyChangeListener
in interface PropertyChangePublisher
listener
- the PropertyChangeListener
to remove.public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
PropertyChangePublisher
removePropertyChangeListener
in interface PropertyChangePublisher
propertyName
- the property that was being monitored.listener
- the PropertyChangeListener
to remove.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |