public class WizardPage extends BorderPage
Modifier and Type | Field and Description |
---|---|
static String |
STEP1_DESC |
static String |
STEP1_LABEL |
static String |
STEP2_DESC |
static String |
STEP2_LABEL |
static String |
STEP3_DESC |
static String |
STEP3_LABEL |
String[] |
stepDescriptions |
String[] |
stepLabels |
controls, format, forward, headElements, headers, includeControlHeadElements, messages, model, PAGE_ACTION, PAGE_MESSAGES, pageImports, path, redirect, stateful, template
Constructor and Description |
---|
WizardPage()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Step |
getCurrentStep()
Return the current step.
|
List |
getHeadElements()
Return the page stylesheet: wizard.css.
|
boolean |
hasNextStep()
Return true if there is another step after the specified step.
|
boolean |
hasPreviousStep()
Return true if there is another step before the specified step.
|
boolean |
isLastStep()
Return true if the specified step is the last step in the process.
|
void |
next()
Goto next step.
|
void |
previous()
Goto previous step.
|
void |
setCurrentStepIndex(int stepIndex)
Sets the current Step to the specified Step.
|
getTemplate, onDestroy, onInit
addControl, addModel, getContentType, getContext, getControls, getFormat, getForward, getHeaders, getHtmlImports, getMessage, getMessage, getMessages, getModel, getPageImports, getPath, getRedirect, hasControls, hasHeaders, isIncludeControlHeadElements, isStateful, onGet, onPost, onRender, onSecurityCheck, removeControl, setFormat, setForward, setForward, setForward, setHeader, setHeaders, setIncludeControlHeadElements, setPageImports, setPath, setRedirect, setRedirect, setRedirect, setRedirect, setStateful, setTemplate
public static final String STEP1_DESC
public static final String STEP2_DESC
public static final String STEP3_DESC
public static final String STEP1_LABEL
public static final String STEP2_LABEL
public static final String STEP3_LABEL
public String[] stepDescriptions
public String[] stepLabels
public Step getCurrentStep()
public void setCurrentStepIndex(int stepIndex)
stepIndex
- the current step index to setpublic boolean hasPreviousStep()
public boolean hasNextStep()
public boolean isLastStep()
public void previous()
public void next()
public List getHeadElements()
getHeadElements
in class Page