Interface Wizard.IWizardLogicProvider
- Enclosing class:
- Wizard
public static interface Wizard.IWizardLogicProvider
Logic that is serving the wizard processing.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
Tells that the cancel button was clicked.boolean
Grid navigation enabled or not.boolean
checkIfNavigationIsPossible
(Wizard.IWizardPageInfo fromPage, Wizard.IWizardPageInfo toPage, int directionOfNavigation) This method is called whenever the user wants to navigate within the wizard - either via the previous-next buttons or via the list of steps on the left.void
finish()
Called when the user pressed the finish function.Get the sequence of pages that form the wizard.void
prepareNextPage
(Wizard.IWizardPageInfo toPage, int directionOfNavigation) This method is called during navigation from one page to the next.
-
Field Details
-
DIRECTION_NEXT
static final int DIRECTION_NEXT- See Also:
-
DIRECTION_PREVIOUS
static final int DIRECTION_PREVIOUS- See Also:
-
-
Method Details
-
getWizardPageInfos
Wizard.IWizardPageInfo[] getWizardPageInfos()Get the sequence of pages that form the wizard. -
prepareNextPage
This method is called during navigation from one page to the next. The logic can react accordingly and pass data to the page that's going to be opened by the wizard.
WIthin a wizard navigation this method is always called AFTER the method checkIfNavigationIsPossible().- Parameters:
directionOfNavigation
- 0 ==> next, 1 <== previous
-
finish
void finish()Called when the user pressed the finish function. -
cancel
void cancel()Tells that the cancel button was clicked. Your logic needs to react accordingly, e.g. it may close the popup in which the wizard was opened.
-