|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.core.LabeledObjectSupport
org.springframework.richclient.dialog.AbstractDialogPage
org.springframework.richclient.wizard.AbstractWizardPage
public abstract class AbstractWizardPage
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 | |
---|---|
protected |
AbstractWizardPage(String pageId)
Creates a wizard page. |
protected |
AbstractWizardPage(String pageId,
boolean autoConfigure)
Creates a new wizard page. |
protected |
AbstractWizardPage(String pageId,
boolean autoConfigure,
String title)
Creates a new wizard page with the given title. |
protected |
AbstractWizardPage(String pageId,
boolean autoConfigure,
String title,
Image icon)
Creates a new wizard page with the given title and image. |
Method Summary | |
---|---|
boolean |
canFlipToNextPage()
Returns whether the next page could be displayed. |
protected WizardContainer |
getContainer()
|
Image |
getImage()
Returns the image associated with the application component, or null. |
String |
getKey()
|
WizardPage |
getNextPage()
Returns the wizard page that would to be shown if the user was to press the Next button. |
WizardPage |
getPreviousPage()
Returns the wizard page that would to be shown if the user was to press the Back button. |
Wizard |
getWizard()
Returns the wizard that hosts this wizard page. |
protected boolean |
isCurrentPage()
|
void |
onAboutToShow()
|
void |
setEnabled(boolean enabled)
Sets the enabled state of the object. |
void |
setPreviousPage(WizardPage page)
Sets the wizard page that would typically be shown if the user was to press the Back button. |
void |
setVisible(boolean visible)
Sets the visibility of this dialog page. |
void |
setWizard(Wizard newWizard)
Sets the wizard that hosts this wizard page. |
String |
toString()
|
Methods inherited from class org.springframework.richclient.dialog.AbstractDialogPage |
---|
createControl, 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 |
---|
protected AbstractWizardPage(String pageId)
pageId
- the id of this wizard page. This will be used to configure the
page.protected AbstractWizardPage(String pageId, boolean autoConfigure)
pageId
- the id of this wizard pageautoConfigure
- whether or not to use an ObjectConfigurer to configure the
titles of this dialog page using the given pageIdprotected AbstractWizardPage(String pageId, boolean autoConfigure, String title)
pageId
- the id of this wizard pageautoConfigure
- whether or not to use an ObjectConfigurer to configure the
titles of this dialog page using the given pageIdtitle
- the title of this wizard page, or null
if noneprotected AbstractWizardPage(String pageId, boolean autoConfigure, String title, Image icon)
pageId
- the id of this wizard pageautoConfigure
- whether or not to use an ObjectConfigurer to configure the
titles of this wizard page using the given pageIdtitle
- the title of this wizard page, or null
if noneimage
- the image for this wizard page, or null
if noneMethod Detail |
---|
public String getKey()
public Image getImage()
VisualizedElement
getImage
in interface VisualizedElement
getImage
in interface DialogPage
getImage
in class LabeledObjectSupport
null
if nonepublic WizardPage getNextPage()
WizardPage
getNextPage
in interface WizardPage
null
if nonepublic WizardPage getPreviousPage()
WizardPage
getPreviousPage
in interface WizardPage
null
if nonepublic boolean canFlipToNextPage()
WizardPage
canFlipToNextPage
in interface WizardPage
true
if the next page could be displayed, and
false
otherwiseprotected boolean isCurrentPage()
protected WizardContainer getContainer()
public Wizard getWizard()
WizardPage
getWizard
in interface WizardPage
null
if this page has not been
added to any wizardWizardPage.setWizard(org.springframework.richclient.wizard.Wizard)
public void setPreviousPage(WizardPage page)
WizardPage
This method is called by the container.
setPreviousPage
in interface WizardPage
page
- the previous wizard pagepublic void setVisible(boolean visible)
DialogPage
setVisible
in interface DialogPage
setVisible
in class AbstractDialogPage
visible
- true
to make this page visible, and
false
to hide itpublic void setEnabled(boolean enabled)
Guarded
setEnabled
in interface Guarded
setEnabled
in class AbstractDialogPage
enabled
- true
to enable the object, false
to disable it.public void setWizard(Wizard newWizard)
WizardPage
setWizard
in interface WizardPage
newWizard
- the wizardWizardPage.getWizard()
public void onAboutToShow()
onAboutToShow
in interface WizardPage
public String toString()
toString
in class LabeledObjectSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |