public abstract class WizardStepModel extends Object
Constructor and Description |
---|
WizardStepModel() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(WizardListener listener)
Add a listener to the model.
|
void |
cleanup()
Clean up the data model.
|
abstract String |
getDescription()
Human readable description of this data model.
|
WizardModel |
getModel()
Get the global WizardModel
|
List<WizardStepModel> |
getNextSteps() |
abstract String |
getShortDescription()
Return a short description of this data model
|
String |
getSummary()
Return a summary of this step after validation.
|
abstract WizardStepView |
getView()
Get the view associated to this data model.
|
boolean |
isCommitable()
Figures out whether or not the data model is in a state compatible with Wizard step progression.
|
boolean |
isCurrentStep()
Returns whether or not this step is the current step of the wizard data model.
|
abstract WizardStepModel |
next()
Return the next step.
|
void |
removeListener(WizardListener listener)
Remove a listener from the model.
|
void |
setModel(WizardModel paramWizardModel)
Set the global wizard model.
|
void |
setSummary(String summary)
Set the summary of this step.
|
protected void |
stepEntered()
Method called when the step is entered.
|
protected void |
stepExited()
Method called when exit from the step
|
public abstract WizardStepView getView()
public final void addListener(WizardListener listener)
listener
- public final void removeListener(WizardListener listener)
listener
- public boolean isCommitable()
public void cleanup()
public abstract String getDescription()
public abstract String getShortDescription()
public abstract WizardStepModel next()
public final boolean isCurrentStep()
protected void stepEntered()
protected void stepExited()
public final WizardModel getModel()
public final void setModel(WizardModel paramWizardModel)
paramWizardModel
- public String getSummary()
public void setSummary(String summary)
public final List<WizardStepModel> getNextSteps()
Plealog Software - 2003-2017