| 
 | ||||||||||
| 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.widget.AbstractWidget
org.springframework.richclient.widget.AbstractTitledWidget
public abstract class AbstractTitledWidget
| Field Summary | 
|---|
| Fields inherited from class org.springframework.richclient.widget.AbstractWidget | 
|---|
| showing | 
| 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 | |
|---|---|
| AbstractTitledWidget() | |
| 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. | 
| abstract  JComponent | createWidgetContent() | 
|  JComponent | getComponent()Lazy creation of component | 
| protected  Message | getDescription() | 
|  String | getId() | 
|  boolean | isEnabled()Indicates if the object is in an enabled state. | 
|  ValidationResultsReporter | newSingleLineResultsReporter(Messagable messagable) | 
|  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 beanName) | 
|  void | setCaption(String shortDescription) | 
|  void | setDescription(String longDescription) | 
|  void | setEnabled(boolean enabled)Sets the enabled state of the object. | 
|  void | setId(String id) | 
|  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.AbstractWidget | 
|---|
| canClose, getCommands, isShowing, onAboutToHide, onAboutToShow | 
| 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.Widget | 
|---|
| canClose, getCommands, isShowing, onAboutToHide, onAboutToShow | 
| Constructor Detail | 
|---|
public AbstractTitledWidget()
| Method Detail | 
|---|
public void setId(String id)
public String getId()
getId in interface TitledWidgetpublic void setBeanName(String beanName)
setBeanName in interface BeanNameAwarepublic boolean isEnabled()
Guarded
isEnabled in interface Guardedpublic void setEnabled(boolean enabled)
Guarded
setEnabled in interface Guardedenabled - true to enable the object, false to disable it.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 Messagablepublic ValidationResultsReporter newSingleLineResultsReporter(Messagable messagable)
newSingleLineResultsReporter in interface TitledWidgetprotected Message getDescription()
public void setDescription(String longDescription)
setDescription in interface DescriptionConfigurablepublic void setCaption(String shortDescription)
setCaption in interface DescriptionConfigurablepublic final JComponent getComponent()
getComponent in interface Widgetnull graphical component built using the
 parameters held in the widget instance.public abstract JComponent createWidgetContent()
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.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||