org.springframework.richclient.dialog
Class FormBackedDialogPage
java.lang.Object
org.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.core.LabeledObjectSupport
org.springframework.richclient.dialog.AbstractDialogPage
org.springframework.richclient.dialog.FormBackedDialogPage
- All Implemented Interfaces:
- PropertyChangePublisher, CommandLabelConfigurable, DescribedElement, DescriptionConfigurable, Guarded, TitleConfigurable, VisualizedElement, DialogPage, Messagable, ControlFactory, IconConfigurable, ImageConfigurable
public class FormBackedDialogPage
- extends AbstractDialogPage
An implementation of DialogPage that delegates to a FormPage for its control,
pageComplete status and messages.
- Author:
- Oliver Hutchison
Methods inherited from class org.springframework.richclient.dialog.AbstractDialogPage |
getControl, getIcon, getId, getMessage, getParentWindowControl, getTitle, hasErrorMessage, hasInfoMessage, hasWarningMessage, isControlCreated, isEnabled, isPageComplete, isVisible, performHelp, setIcon, setId, setMessage, setPageComplete, setVisible |
Methods inherited from class org.springframework.richclient.core.LabeledObjectSupport |
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getAccelerator, getCaption, getDescription, getDisplayName, getImage, getLabel, getMnemonic, getMnemonicIndex, hasChanged, hasChanged, hasChanged, removePropertyChangeListener, removePropertyChangeListener, setCaption, setDescription, setImage, setLabelInfo, setTitle, toString |
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 |
FormBackedDialogPage
public FormBackedDialogPage(Form backingFormPage)
- Creates a new FormBackedDialogPage
- Parameters:
backingFormPage
- a named form page that will provide the control for this
dialog page
FormBackedDialogPage
public FormBackedDialogPage(Form backingFormPage,
boolean autoConfigure)
FormBackedDialogPage
public FormBackedDialogPage(String parentPageId,
Form backingFormPage)
- Creates a new FormPageBackedDialogPage.
- Parameters:
parentPageId
- the id of a containing parent page. This will be used to
configure page titles/descriptionbackingFormPage
- the FormPage which will provide the control for this page.
getBackingFormPage
public Form getBackingFormPage()
- Get the Form backing this dialog page.
- Returns:
- form
onAboutToShow
public void onAboutToShow()
createControl
protected JComponent createControl()
- Specified by:
createControl
in class AbstractDialogPage
initPageValidationReporter
protected void initPageValidationReporter()
setEnabled
public void setEnabled(boolean enabled)
- Description copied from interface:
Guarded
- Sets the enabled state of the object.
- Specified by:
setEnabled
in interface Guarded
- Overrides:
setEnabled
in class AbstractDialogPage
- Parameters:
enabled
- true
to enable the object, false
to disable it.
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.