|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.patterncoder.wizard.WizardModel
public class WizardModel
The wizard model class is used to hold data required for the wizard process and the wizard framework.
Constructor Summary | |
---|---|
WizardModel()
Creates a new instance of WizardModel |
Method Summary | |
---|---|
void |
clearWizardModel()
Clears the wizard model, but does not remove any static panels that may have been registered. |
WizardPanelDescriptor |
getCurrentPanelDesc()
Returns the panel descriptor of the current panel. |
WizardPanelDescriptor |
getPanelDesc(java.lang.Object id)
Returns the descriptor of the Panel with the same Object based id as the one supplied. |
void |
registerWizardPanel(java.lang.Object id,
WizardPanelDescriptor panel)
Registers a panel descriptor with the wizard model. |
void |
setCurrentPanelDesc(java.lang.Object id)
Sets the value of the current decriptor to the descriptor represented by the Object value supplied. |
int |
totalNum()
Returns the total number of steps involved with the currently selected pattern. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WizardModel()
Method Detail |
---|
public void registerWizardPanel(java.lang.Object id, WizardPanelDescriptor panel)
id
- the Object based id of the wizard panel descriptor.panel
- the WizardPanelDescriptor object.public WizardPanelDescriptor getCurrentPanelDesc()
public WizardPanelDescriptor getPanelDesc(java.lang.Object id)
id
- the id of the panel descriptor required.
public void setCurrentPanelDesc(java.lang.Object id)
id
- the id of the descriptor to be set as the current pael.public int totalNum()
public void clearWizardModel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |