|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WizardAction
A Wizard Action performs some logic on the model, when an action button is pressed on the navigation bar, and then returns a PageForward which determines which WizardPage is shown next. This allows for branching within a Wizard.
Method Summary | |
---|---|
java.lang.String |
getDescription()
the description of this action |
java.lang.String |
getTitle()
the title of this action. |
PageForward |
perform(Wizard wizard,
WizardModel model)
perform the action. |
Method Detail |
---|
java.lang.String getDescription()
the description of this action
java.lang.String getTitle()
the title of this action. This could used for the button text on the WizardNavigator.
PageForward perform(Wizard wizard, WizardModel model) throws WizardException
perform the action. This should only be called from the perform() method of the Wizard.
wizard
- the wizard that called this actionmodel
- the wizard model this action will work with
WizardException
- when something went wrong while performing the
action
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |