public abstract class AbstractNavigationAwareWizardStep extends Object implements WizardStep
| Constructor and Description |
|---|
AbstractNavigationAwareWizardStep() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDirectionName(NavigationListener.NavigationDirection direction)
Allows this step to overwrite the default printed for the navigation directions.
|
String |
getNextStep()
Returns the key of the next step in the wizard.
|
EnumSet<NavigationListener.NavigationDirection> |
getValidDirections() |
String |
setDirectionName(NavigationListener.NavigationDirection direction,
String name)
Sets the name for a navigation direction.
|
void |
setNextStep(String nextStep)
Sets the name of the next wizard step.
|
void |
setValidDirections(EnumSet<NavigationListener.NavigationDirection> validDirections)
Sets the valid directions the wizard can go to from this wizard step.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisplay, getResult, getStepTitle, init, isAutoSubmit, onCancel, onSubmitpublic String getDirectionName(NavigationListener.NavigationDirection direction)
WizardStepgetDirectionName in interface WizardStepdirection - the direction to get the name forpublic String setDirectionName(NavigationListener.NavigationDirection direction, String name)
direction - a wizard navigation directionname - a string that will be used on the UI to indicate the specified directionpublic String getNextStep()
WizardStepWizardStep.onSubmit(AsyncCallback) has returned successfully, so the computing of the next step can be done safely
at WizardStep.onSubmit(AsyncCallback) time.getNextStep in interface WizardSteppublic void setNextStep(String nextStep)
nextStep - the name of the next wizard steppublic EnumSet<NavigationListener.NavigationDirection> getValidDirections()
getValidDirections in interface WizardSteppublic void setValidDirections(EnumSet<NavigationListener.NavigationDirection> validDirections)
validDirections - the valid directions the wizard can go to from this wizard stepCopyright © 2004–2015 XWiki. All rights reserved.