|
|||||||||
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,
java.lang.String name,
java.lang.String label)
|
|
WizardStep(Wizard wizard,
java.lang.String name,
java.lang.String label,
WizardStep parent)
|
Method Summary | |
---|---|
WizardFrame |
getFrame()
|
java.lang.String |
getLabel()
|
java.lang.String |
getName()
|
WizardStep |
getNextSibling()
|
WizardStep |
getNextVisibleSibling()
|
WizardStepsParent |
getParent()
|
WizardStep |
getPreviousSibling()
|
WizardStep |
getPreviousVisibleSibling()
|
java.util.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(java.lang.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, java.lang.String name, java.lang.String label)
public WizardStep(Wizard wizard, java.lang.String name, java.lang.String label, WizardStep parent)
Method Detail |
---|
public java.lang.String getName()
public Wizard getWizard()
public java.lang.String getLabel()
public void setLabel(java.lang.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 java.util.List getSteps()
getSteps
in interface WizardStepsParent
public 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 WizardStepsParent
public void removeStep(WizardStep step)
removeStep
in interface WizardStepsParent
public boolean isVisible()
public void setVisible(boolean visible)
public void updateChildrenVisible()
updateChildrenVisible
in interface WizardStepsParent
public 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 |