|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectariba.ui.wizard.core.WizardStep
public final class WizardStep
A WizardStep represents the runtime state of a particular step in a wizard flow. It reflects both the immutable meta-data specified in the XML or given by the application, as well as the dynamic state of the step for a particular trip through the wizard.
| Constructor Summary | |
|---|---|
WizardStep(Wizard wizard,
String name,
String label)
|
|
WizardStep(Wizard wizard,
String name,
String label,
WizardStep parent)
|
|
| Method Summary | |
|---|---|
WizardFrame |
getFrame()
|
String |
getLabel()
|
String |
getName()
|
WizardStep |
getNextSibling()
|
WizardStep |
getNextVisibleSibling()
|
WizardStepsParent |
getParent()
|
WizardStep |
getPreviousSibling()
|
WizardStep |
getPreviousVisibleSibling()
|
List |
getSteps()
|
Wizard |
getWizard()
|
boolean |
hasBeenVisited()
|
int |
index()
|
void |
insertStepAfter(WizardStep step,
WizardStep afterStep)
|
void |
insertStepAt(WizardStep step,
int index)
|
void |
insertStepBefore(WizardStep step,
WizardStep beforeStep)
|
boolean |
isNumbered()
|
boolean |
isTopLevelStep()
|
boolean |
isVisible()
|
WizardStepMeta |
meta()
|
void |
removeAllSteps()
Removes all the substeps contained by the step |
void |
removeStep(WizardStep step)
|
void |
setFrame(WizardFrame frame)
Sets the frame that is directly contained by this step. If the step already contains a frame, it will be replace by the given frame. |
void |
setHasBeenVisited(boolean hasBeenVisited)
|
void |
setLabel(String localizedLabel)
Overrides the default label for the wizard step |
void |
setVisible(boolean visible)
|
void |
updateChildrenVisible()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WizardStep(Wizard wizard,
String name,
String label)
public WizardStep(Wizard wizard,
String name,
String label,
WizardStep parent)
| Method Detail |
|---|
public String getName()
public Wizard getWizard()
public String getLabel()
public void setLabel(String localizedLabel)
localizedLabel - localized string to use as label for wizard steppublic boolean isNumbered()
public WizardFrame getFrame()
public void setFrame(WizardFrame frame)
public void removeAllSteps()
public List getSteps()
getSteps in interface WizardStepsParentpublic WizardStepsParent getParent()
public void insertStepBefore(WizardStep step,
WizardStep beforeStep)
insertStepBefore in interface WizardStepsParent
public void insertStepAfter(WizardStep step,
WizardStep afterStep)
insertStepAfter in interface WizardStepsParent
public void insertStepAt(WizardStep step,
int index)
insertStepAt in interface WizardStepsParentpublic void removeStep(WizardStep step)
removeStep in interface WizardStepsParentpublic boolean isVisible()
public void setVisible(boolean visible)
public void updateChildrenVisible()
updateChildrenVisible in interface WizardStepsParentpublic boolean hasBeenVisited()
public void setHasBeenVisited(boolean hasBeenVisited)
public WizardStep getNextVisibleSibling()
public WizardStep getNextSibling()
public int index()
public WizardStep getPreviousVisibleSibling()
public WizardStep getPreviousSibling()
public WizardStepMeta meta()
public boolean isTopLevelStep()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||