|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimtools.ui.WizardManager
public abstract class WizardManager
Type
Summary:
A WizardManager controls wizard UI configuration, according to:
Field Summary | |
---|---|
protected WizardPage |
currentPage
(WizardPage) currentPage: The currentPage. |
protected java.util.Stack |
pageHistory
(Stack) pageHistory: The pageHistory. |
protected java.util.Map |
settings
(Map) settings: The settings map. |
protected java.lang.Object |
wizardObject
The object built on finish operation; |
Constructor Summary | |
---|---|
WizardManager()
|
Method Summary | |
---|---|
abstract boolean |
canFinish()
Method canFinish Summary: |
abstract boolean |
canNext()
Method canFinish Summary: |
void |
finish()
Method finish Summary: process finish action |
WizardPage |
getCurrentStep()
Method getCurrentStep Summary: |
java.awt.Dimension |
getMaximumnPageSize()
|
WizardPage |
getPreviousStep()
Method getPreviousStep Summary: |
java.util.Map |
getSettings()
|
abstract java.lang.String[] |
getStepsTitles()
Method getAllPagesTitle Summary: |
java.lang.Object |
getWizardObject()
|
protected abstract WizardPage |
next()
Method getNextStep Summary: Compute next step in function of current state and settings |
protected abstract java.lang.Object |
processFinish()
Method processFinish Summary: Instantiate whatever object (if any) the wizard creates from its gathered data. |
void |
processToNextStep()
Method processToNextStep Summary: Update setting and compute the next page to dispay |
void |
processToPreviousStep()
Method processToPreviousStep Summary: get previous page, restore previous settings |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map settings
protected WizardPage currentPage
protected java.util.Stack pageHistory
protected java.lang.Object wizardObject
Constructor Detail |
---|
public WizardManager()
Method Detail |
---|
public java.awt.Dimension getMaximumnPageSize()
public WizardPage getCurrentStep()
public WizardPage getPreviousStep()
public void processToNextStep()
public void processToPreviousStep()
public abstract java.lang.String[] getStepsTitles()
public abstract boolean canNext()
protected abstract WizardPage next()
public abstract boolean canFinish()
public void finish()
protected abstract java.lang.Object processFinish()
public java.lang.Object getWizardObject()
public java.util.Map getSettings()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |