public abstract class Step extends SimplePanel
active, disabled, id, label, model, panels, templatecontrolMap, controlsactionListener, attributes, behaviors, headElements, listener, listenerMethod, messages, name, parent, stylesCONTROL_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, renderContaineraddControl, addModel, createTemplateModel, getId, getLabel, getModel, getPanels, getTemplate, insert, isActive, isDisabled, onInit, onProcess, onRender, remove, removeControl, replace, setActive, setDisabled, setId, setLabel, setTemplateadd, contains, getControl, getControlMap, getControls, getControlSizeEst, hasControls, onDestroy, renderChildren, renderContent, renderTagEnd, toStringaddBehavior, 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, setStyleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBehaviors, getContext, getHeadElements, getMessages, getName, getParent, hasBehaviors, isAjaxTarget, onDeploy, setListener, setName, setParentpublic 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()