|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.factory.AbstractControlFactory
org.springframework.richclient.form.AbstractForm
org.springframework.richclient.widget.AbstractWidgetForm
org.springframework.richclient.widget.AbstractTitledWidgetForm
public abstract class AbstractTitledWidgetForm
| Field Summary |
|---|
| Fields inherited from class org.springframework.richclient.widget.AbstractWidgetForm |
|---|
SAVE_CMD_ID, showing, UNDO_CMD_ID |
| Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor |
|---|
logger |
| Fields inherited from interface org.springframework.richclient.widget.Widget |
|---|
EMPTY_WIDGET |
| Fields inherited from interface org.springframework.richclient.dialog.Messagable |
|---|
MESSAGE_PROPERTY |
| Constructor Summary | |
|---|---|
AbstractTitledWidgetForm(FormModel model)
|
|
AbstractTitledWidgetForm(FormModel model,
String formId)
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Register a listener to all properties of this publisher. |
void |
addPropertyChangeListener(String txt,
PropertyChangeListener listener)
Register a listener to a specific property. |
boolean |
canClose()
Checks whether this component can be closed visually, for example when there are no unsaved changes. |
List<? extends AbstractCommand> |
getCommands()
Returns a list of commands for this widget. |
JComponent |
getComponent()
|
protected Message |
getDescription()
|
void |
onAboutToHide()
Hook method called before moving the component to the background (=hiding) |
void |
onAboutToShow()
Hook method called before showing the component on screen. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove the listener from all properties of this publisher. |
void |
removePropertyChangeListener(String txt,
PropertyChangeListener listener)
Remove the listener from a specific property. |
void |
setBeanName(String name)
|
void |
setCaption(String shortDescription)
|
void |
setDescription(String longDescription)
|
void |
setImage(Image image)
|
void |
setMessage(Message message)
Set the message. |
void |
setTitle(String title)
Sets the title. |
| Methods inherited from class org.springframework.richclient.widget.AbstractWidgetForm |
|---|
getCommitCommandFaceDescriptorId, getRevertCommandFaceDescriptorId, isShowing |
| Methods inherited from class org.springframework.richclient.factory.AbstractControlFactory |
|---|
createControlIfNecessary, getControl, isControlCreated, isSingleton, setSingleton |
| 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 |
| Methods inherited from interface org.springframework.richclient.widget.TitledWidget |
|---|
getId, newSingleLineResultsReporter |
| Methods inherited from interface org.springframework.richclient.widget.Widget |
|---|
isShowing |
| Methods inherited from interface org.springframework.richclient.core.Guarded |
|---|
isEnabled, setEnabled |
| Methods inherited from interface org.springframework.richclient.factory.ControlFactory |
|---|
getControl |
| Constructor Detail |
|---|
public AbstractTitledWidgetForm(FormModel model)
public AbstractTitledWidgetForm(FormModel model,
String formId)
| Method Detail |
|---|
public void setTitle(String title)
TitleConfigurable
setTitle in interface TitleConfigurabletitle - the titlepublic void setImage(Image image)
setImage in interface ImageConfigurablepublic void setMessage(Message message)
Messagable
setMessage in interface Messagableprotected Message getDescription()
public void setDescription(String longDescription)
setDescription in interface DescriptionConfigurablepublic JComponent getComponent()
getComponent in interface WidgetgetComponent in class AbstractWidgetFormnull graphical component built using the
parameters held in the widget instance.public void addPropertyChangeListener(PropertyChangeListener listener)
PropertyChangePublisher
addPropertyChangeListener in interface PropertyChangePublisherlistener - the PropertyChangeListener to register.
public void addPropertyChangeListener(String txt,
PropertyChangeListener listener)
PropertyChangePublisher
addPropertyChangeListener in interface PropertyChangePublishertxt - the property to monitor.listener - the PropertyChangeListener to register.public void removePropertyChangeListener(PropertyChangeListener listener)
PropertyChangePublisher
removePropertyChangeListener in interface PropertyChangePublisherlistener - the PropertyChangeListener to remove.
public void removePropertyChangeListener(String txt,
PropertyChangeListener listener)
PropertyChangePublisher
removePropertyChangeListener in interface PropertyChangePublishertxt - the property that was being monitored.listener - the PropertyChangeListener to remove.public boolean canClose()
Widget
canClose in interface WidgetcanClose in class AbstractWidgetFormtrue if the widget can be closed without problems.public List<? extends AbstractCommand> getCommands()
Widget
getCommands in interface WidgetgetCommands in class AbstractWidgetFormpublic void onAboutToHide()
Widget
onAboutToHide in interface WidgetonAboutToHide in class AbstractWidgetFormpublic void onAboutToShow()
Widget
onAboutToShow in interface WidgetonAboutToShow in class AbstractWidgetFormpublic void setCaption(String shortDescription)
setCaption in interface DescriptionConfigurablepublic void setBeanName(String name)
setBeanName in interface BeanNameAware
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||