public abstract class Step extends SimplePanel
active, disabled, id, label, model, panels, template
controlMap, controls
actionListener, attributes, behaviors, headElements, listener, listenerMethod, messages, name, parent, styles
CONTROL_MESSAGES
Constructor and Description |
---|
Step(String name,
String label,
String description,
WizardPage page)
Constructs a Step for the specified name and page.
|
Modifier and Type | Method and Description |
---|---|
Button |
getCancelButton()
Return the button representing the cancel action.
|
String |
getDescription()
Return the Step description.
|
Button |
getFinishButton()
Return the button representing the next action.
|
Form |
getForm()
Return the Step form instance.
|
Button |
getNextButton()
Return the button representing the next action.
|
Button |
getPreviousButton()
Return the button representing the previous action.
|
WizardPage |
getWizardPage()
Return the Step WizardPage instance.
|
void |
init()
Setup and initializes the Step.
|
boolean |
onCancel()
The onCancel action.
|
boolean |
onFinish()
The onFinish action.
|
boolean |
onNext()
The onNext action.
|
boolean |
onPrevious()
The onPrevious action.
|
void |
setDescription(String description)
Set the Step visual description.
|
void |
setWizardPage(WizardPage wizardPage)
Set the WizardPage instance.
|
hasTemplate, render, renderContainer
addControl, addModel, createTemplateModel, getId, getLabel, getModel, getPanels, getTemplate, insert, isActive, isDisabled, onInit, onProcess, onRender, remove, removeControl, replace, setActive, setDisabled, setId, setLabel, setTemplate
add, contains, getControl, getControlMap, getControls, getControlSizeEst, hasControls, onDestroy, renderChildren, renderContent, renderTagEnd, toString
addBehavior, addStyleClass, appendAttributes, dispatchActionEvent, getActionListener, getAttribute, getAttributes, getBehaviors, getContext, getHeadElements, getHtmlImports, getMessage, getMessage, getMessages, getName, getPage, getParent, getStyle, getStyles, getTag, hasAttribute, hasAttributes, hasBehaviors, hasStyles, isAjaxTarget, onDeploy, removeBehavior, removeStyleClass, renderTagBegin, setActionListener, setAttribute, setListener, setName, setParent, setStyle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBehaviors, getContext, getHeadElements, getMessages, getName, getParent, hasBehaviors, isAjaxTarget, onDeploy, setListener, setName, setParent
public Step(String name, String label, String description, WizardPage page)
name
- the step namelabel
- the step labeldescription
- the step descriptionpage
- the wizard pagepublic Form getForm()
public WizardPage getWizardPage()
public void setWizardPage(WizardPage wizardPage)
wizardPage
- the WizardPage instance for this Steppublic String getDescription()
public void setDescription(String description)
description
- the visual descriptionpublic Button getNextButton()
public Button getPreviousButton()
public Button getFinishButton()
public Button getCancelButton()
public boolean onNext()
public boolean onPrevious()
public boolean onFinish()
public boolean onCancel()
public final void init()