|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
public abstract class AbstractNavigationAwareWizardStep
An abstract wizard step that is aware of the wizard navigation.
| Constructor Summary | |
|---|---|
AbstractNavigationAwareWizardStep()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xwiki.gwt.user.client.ui.wizard.WizardStep |
|---|
display, getResult, getStepTitle, init, isAutoSubmit, onCancel, onSubmit |
| Constructor Detail |
|---|
public AbstractNavigationAwareWizardStep()
| Method Detail |
|---|
public String getDirectionName(NavigationListener.NavigationDirection direction)
getDirectionName in interface WizardStepdirection - the direction to get the name for
WizardStep#getDirectionName(NavigationDirection)
public 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 direction
public String getNextStep()
WizardStep.onSubmit(AsyncCallback) has returned successfully, so the computing of the next step can be done safely
at WizardStep.onSubmit(AsyncCallback) time.
getNextStep in interface WizardStepWizardStep.getNextStep()public void setNextStep(String nextStep)
nextStep - the name of the next wizard steppublic EnumSet<NavigationListener.NavigationDirection> getValidDirections()
getValidDirections in interface WizardStepWizardStep.getValidDirections()public void setValidDirections(EnumSet<NavigationListener.NavigationDirection> validDirections)
validDirections - the valid directions the wizard can go to from this wizard step
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||