|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ozziefix.jlwizard.actions.ForwardAction
public class ForwardAction
The ForwardAction just returns a PageForward to the specified page, without performing any logic.
Constructor Summary | |
---|---|
ForwardAction()
Creates a new ForwardAction |
|
ForwardAction(java.lang.String forwardName)
Creates a new ForwardAction. |
Method Summary | |
---|---|
java.lang.String |
getDescription()
the description of this action |
java.lang.String |
getForwardName()
the identifier of the page that should be shown. |
java.lang.String |
getTitle()
the title of this action. |
PageForward |
perform(Wizard wizard,
WizardModel model)
perform the action. |
void |
setDescription(java.lang.String description)
The description of this action. |
void |
setForwardName(java.lang.String forwardName)
the identifier of the page that should be shown. |
void |
setTitle(java.lang.String title)
the title of this action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ForwardAction()
Creates a new ForwardAction
public ForwardAction(java.lang.String forwardName)
Creates a new ForwardAction.
forwardName
- the identifier of the page that should be shownMethod Detail |
---|
public void setDescription(java.lang.String description)
The description of this action.
description
- The description to set.public java.lang.String getDescription()
WizardAction
the description of this action
getDescription
in interface WizardAction
WizardAction.getDescription()
public void setForwardName(java.lang.String forwardName)
the identifier of the page that should be shown.
forwardName
- The forwardName to set.public java.lang.String getForwardName()
the identifier of the page that should be shown.
public void setTitle(java.lang.String title)
the title of this action. This could used for the button text on the WizardNavigator.
title
- The title to set.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 |