All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.ibm.as400.ui.framework.java.WizardStateMachine

public interface WizardStateMachine
The interface for objects whose responsibility it is to track the user's path through a task wizard.

See Also:
WizardManager

Method Index

 o getNextPage(int)
Indicates which wizard page should be displayed next.
 o setButtonStates(int)
Sets the state of the buttons on the wizard panel.

Methods

 o getNextPage
 public abstract int getNextPage(int currentPage)
Indicates which wizard page should be displayed next. This method is called when the user clicks the Next button on a wizard panel. The WizardManager calls this method on this object to figure out where to go next.

Parameters:
currentPage - The index of the page that is currently displayed.
Returns:
The index of the page which should be displayed next.
 o setButtonStates
 public abstract void setButtonStates(int currentPage)
Sets the state of the buttons on the wizard panel. This method is called when a new wizard page is displayed. It gives this WizardStateMachine an opportunity to enable/disable the Back, Next, Cancel, Finish and Help buttons.

Parameters:
currentPage - The index of the newly-displayed page.

All Packages  Class Hierarchy  This Package  Previous  Next  Index