|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ozziefix.jlwizard.actions.CancelAction
public class CancelAction
The CancelAction is a WizardAction that resets the WizardModel and closes the Wizard dialog.
Constructor Summary | |
---|---|
CancelAction()
|
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 CancelAction()
Method Detail |
---|
public java.lang.String getDescription()
WizardAction
the description of this action
getDescription
in interface WizardAction
WizardAction.getDescription()
public java.lang.String getTitle()
WizardAction
the title of this action. This could used for the button text on the WizardNavigator.
getTitle
in interface WizardAction
WizardAction.getTitle()
public PageForward perform(Wizard wizard, WizardModel model) throws WizardException
WizardAction
perform the action. This should only be called from the perform() method of the Wizard.
perform
in interface WizardAction
wizard
- 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 |