public class DefaultPageController extends java.lang.Object implements WizardPageController
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,java.util.List<Transition>> |
transitions |
| Constructor and Description |
|---|
DefaultPageController() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeBack(Wizard wizard,
WizardPage page)
This method is invoked before proceeding to the previous page.
|
void |
beforeNext(Wizard wizard,
WizardPage page)
This method is invoked before proceeding to the next page.
|
void |
cancel(Wizard wizard,
WizardPage page)
This method is invoked when the cancel button is pressed.
|
void |
done(Wizard wizard,
WizardPage page)
This method is invoked when the done button is pressed.
|
protected boolean |
evaluateAttribute(java.lang.String attribute,
Wizard wizard) |
protected boolean |
evaluateTransition(Transition transition,
Wizard wizard) |
WizardPage |
getFirstPage(Wizard wizard)
Returns the first page of the wizard.
|
void |
initPage(Wizard wizard,
WizardPage page)
This method is invoked whenever a wizard page is created.
|
WizardPage |
next(Wizard wizard,
WizardPage page)
Returns for the specified wizard page the next page.
|
WizardPage |
previous(Wizard wizard,
WizardPage page)
Returns for the specified wizard page the previous page.
|
void |
setTransitions(java.util.List<Transition> transitions) |
boolean |
validate(Wizard wizard,
WizardPage page)
This method is invoked before leaving a page.
|
protected java.util.Map<java.lang.String,java.util.List<Transition>> transitions
public void setTransitions(java.util.List<Transition> transitions)
public void cancel(Wizard wizard, WizardPage page)
WizardPageControllercancel in interface WizardPageControllerwizard - the wizard which contains the pagepage - the currently accessed pagepublic void done(Wizard wizard, WizardPage page) throws WizardConfirmationException
WizardPageControllerdone in interface WizardPageControllerwizard - the wizard which contains the pagepage - the currently accessed pageWizardConfirmationExceptionpublic WizardPage getFirstPage(Wizard wizard)
WizardPageControllergetFirstPage in interface WizardPageControllerpublic void initPage(Wizard wizard, WizardPage page)
WizardPageControllerinitPage in interface WizardPageControllerwizard - the wizard which contains the pagepage - the currently accessed pageprotected boolean evaluateAttribute(java.lang.String attribute,
Wizard wizard)
protected boolean evaluateTransition(Transition transition, Wizard wizard)
public WizardPage next(Wizard wizard, WizardPage page)
WizardPageControllernext in interface WizardPageControllerwizard - the wizard which contains the pagespage - the current pagepublic WizardPage previous(Wizard wizard, WizardPage page)
WizardPageControllerprevious in interface WizardPageControllerwizard - the wizard which contains the pagespage - the current pagepublic boolean validate(Wizard wizard, WizardPage page)
WizardPageControllervalidate in interface WizardPageControllerpublic void beforeBack(Wizard wizard, WizardPage page)
WizardPageControllerbeforeBack in interface WizardPageControllerwizard - the wizard which contains the pagepage - the currently accessed pagepublic void beforeNext(Wizard wizard, WizardPage page)
WizardPageControllerbeforeNext in interface WizardPageControllerwizard - the wizard which contains the pagepage - the currently accessed pageCopyright © 2018 SAP SE. All Rights Reserved.