|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ozziefix.jlwizard.demo.MaybeEmployeeAction
public class MaybeEmployeeAction
WizardAction for demonstrating branching in a Wizard.
The PageForward this WizardAction returns depends on the value of the employee property of the DemoWizardModel.
| Constructor Summary | |
|---|---|
MaybeEmployeeAction(java.lang.String employeeForward,
java.lang.String noEmployeeForward)
Creates a new MaybeEmployeeAction object. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MaybeEmployeeAction(java.lang.String employeeForward,
java.lang.String noEmployeeForward)
employeeForward - the identifier of the forward when employee =
truenoEmployeeForward - the identifier of the forward when employee =
false| Method Detail |
|---|
public java.lang.String getDescription()
WizardActionthe description of this action
getDescription in interface WizardActionWizardAction.getDescription()public java.lang.String getTitle()
WizardActionthe title of this action. This could used for the button text on the WizardNavigator.
getTitle in interface WizardActionWizardAction.getTitle()
public PageForward perform(Wizard wizard,
WizardModel model)
throws WizardException
WizardActionperform the action. This should only be called from the perform() method of the Wizard.
perform in interface WizardActionwizard - the wizard that called this actionmodel - the wizard model this action will work with
WizardException - when something went wrong while performing the
actionWizardAction.perform(com.ozziefix.jlwizard.Wizard,
com.ozziefix.jlwizard.WizardModel)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||