org.springframework.richclient.widget
Class TitledWidgetForm
java.lang.Object
org.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.widget.AbstractWidget
org.springframework.richclient.widget.AbstractTitledWidget
org.springframework.richclient.widget.TitledWidgetForm
- All Implemented Interfaces:
- BeanNameAware, PropertyChangePublisher, DescriptionConfigurable, Guarded, TitleConfigurable, Messagable, ImageConfigurable, TitledWidget, Widget
public class TitledWidgetForm
- extends AbstractTitledWidget
A decorator to add a TitlePane
to a Form
. Adds the commit command as a default widget
command to show.
TODO check all widget functionality
- Author:
- Jan Hoskens
Methods inherited from class org.springframework.richclient.widget.AbstractTitledWidget |
addPropertyChangeListener, addPropertyChangeListener, getComponent, getDescription, getId, isEnabled, removePropertyChangeListener, removePropertyChangeListener, setBeanName, setCaption, setDescription, setEnabled, setId, setImage, setMessage, setTitle |
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 |
TitledWidgetForm
public TitledWidgetForm()
setForm
public void setForm(AbstractForm form)
- Set the inner form that needs decorating.
getForm
public AbstractForm getForm()
- Returns the form.
createWidgetContent
public JComponent createWidgetContent()
- Specified by:
createWidgetContent
in class AbstractTitledWidget
getCommands
public List<? extends AbstractCommand> getCommands()
- Description copied from class:
AbstractWidget
- Returns a list of commands for this widget.
- Specified by:
getCommands
in interface Widget
- Overrides:
getCommands
in class AbstractWidget
newSingleLineResultsReporter
public ValidationResultsReporter newSingleLineResultsReporter(Messagable messagable)
- Specified by:
newSingleLineResultsReporter
in interface TitledWidget
- Overrides:
newSingleLineResultsReporter
in class AbstractTitledWidget
onAboutToHide
public void onAboutToHide()
- Description copied from class:
AbstractWidget
- Hook method called before moving the component to the background (=hiding)
- Specified by:
onAboutToHide
in interface Widget
- Overrides:
onAboutToHide
in class AbstractWidget
onAboutToShow
public void onAboutToShow()
- Description copied from class:
AbstractWidget
- Hook method called before showing the component on screen.
- Specified by:
onAboutToShow
in interface Widget
- Overrides:
onAboutToShow
in class AbstractWidget
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.