org.springframework.richclient.wizard
Class FormBackedWizardPage

Show UML class diagram
java.lang.Object
  extended by org.springframework.richclient.application.support.ApplicationServicesAccessor
      extended by org.springframework.richclient.core.LabeledObjectSupport
          extended by org.springframework.richclient.dialog.AbstractDialogPage
              extended by org.springframework.richclient.wizard.AbstractWizardPage
                  extended by org.springframework.richclient.wizard.FormBackedWizardPage
All Implemented Interfaces:
PropertyChangePublisher, CommandLabelConfigurable, DescribedElement, DescriptionConfigurable, Guarded, TitleConfigurable, VisualizedElement, DialogPage, Messagable, ControlFactory, IconConfigurable, ImageConfigurable, WizardPage

public class FormBackedWizardPage
extends AbstractWizardPage

An implementation of WizardPage that delegates to a FormPage for its control, pageComplete status and messages.

Author:
Oliver Hutchison

Field Summary
 
Fields inherited from class org.springframework.richclient.core.LabeledObjectSupport
logger
 
Fields inherited from interface org.springframework.richclient.dialog.DialogPage
DESCRIPTION_PROPERTY, PAGE_COMPLETE_PROPERTY
 
Fields inherited from interface org.springframework.richclient.dialog.Messagable
MESSAGE_PROPERTY
 
Fields inherited from interface org.springframework.richclient.core.DescribedElement
CAPTION_PROPERTY, DESCRIPTION_PROPERTY, DISPLAY_NAME_PROPERTY
 
Constructor Summary
FormBackedWizardPage(Form backingForm)
          Createa a new FormBackedWizardPage
FormBackedWizardPage(Form backingForm, boolean autoConfigure)
           
FormBackedWizardPage(String parentPageId, Form backingForm)
          Creates a new FormBackedWizardPage.
 
Method Summary
protected  JComponent createControl()
           
protected  Form getBackingForm()
           
protected  void initPageValidationReporter()
           
 void onAboutToShow()
           
 void setEnabled(boolean enabled)
          Sets the enabled state of the object.
 
Methods inherited from class org.springframework.richclient.wizard.AbstractWizardPage
canFlipToNextPage, getContainer, getImage, getKey, getNextPage, getPreviousPage, getWizard, isCurrentPage, setPreviousPage, setVisible, setWizard, toString
 
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
 
Methods inherited from class org.springframework.richclient.core.LabeledObjectSupport
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getAccelerator, getCaption, getDescription, getDisplayName, getLabel, getMnemonic, getMnemonicIndex, hasChanged, hasChanged, hasChanged, removePropertyChangeListener, removePropertyChangeListener, setCaption, setDescription, setImage, setLabelInfo, 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, wait, wait, wait
 
Methods inherited from interface org.springframework.richclient.dialog.DialogPage
getDescription, getIcon, getId, getMessage, getTitle, isPageComplete, isVisible, performHelp
 
Methods inherited from interface org.springframework.richclient.factory.ControlFactory
getControl
 
Methods inherited from interface org.springframework.richclient.dialog.Messagable
setMessage
 
Methods inherited from interface org.springframework.binding.value.PropertyChangePublisher
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface org.springframework.richclient.core.Guarded
isEnabled
 

Constructor Detail

FormBackedWizardPage

public FormBackedWizardPage(Form backingForm)
Createa a new FormBackedWizardPage

Parameters:
backingForm - the named form page which will provide the control for this wizard page.

FormBackedWizardPage

public FormBackedWizardPage(Form backingForm,
                            boolean autoConfigure)

FormBackedWizardPage

public FormBackedWizardPage(String parentPageId,
                            Form backingForm)
Creates a new FormBackedWizardPage.

Parameters:
parentPageId - the id of a containing parent page. This will be used to configure page titles/description
backingForm - the names form page which will provide the control for this wizard page.
Method Detail

getBackingForm

protected Form getBackingForm()

onAboutToShow

public void onAboutToShow()
Specified by:
onAboutToShow in interface WizardPage
Overrides:
onAboutToShow in class AbstractWizardPage

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 AbstractWizardPage
Parameters:
enabled - true to enable the object, false to disable it.


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.