|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pietschy.wizard.models.Path
Paths represent a sequence of WizardStep
s.
Constructor Summary | |
protected |
Path()
|
Method Summary | |
abstract void |
acceptVisitor(PathVisitor visitor)
|
void |
addStep(WizardStep step)
Adds a wizard step to this path. |
boolean |
contains(WizardStep step)
|
WizardStep |
firstStep()
|
protected abstract Path |
getNextPath(MultiPathModel model)
Gets the path that will follow this one. |
java.util.ArrayList |
getSteps()
|
boolean |
isFirstStep(WizardStep step)
Checks if the specified step is the first step in the path. |
boolean |
isLastStep(WizardStep step)
Checks if the specified step is the last step in the path. |
WizardStep |
lastStep()
|
WizardStep |
nextStep(WizardStep currentStep)
|
WizardStep |
previousStep(WizardStep currentStep)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Path()
Method Detail |
protected abstract Path getNextPath(MultiPathModel model)
public void addStep(WizardStep step)
step
- the next WizardStep
in the path.public WizardStep firstStep()
public WizardStep nextStep(WizardStep currentStep)
public WizardStep previousStep(WizardStep currentStep)
public WizardStep lastStep()
public boolean isFirstStep(WizardStep step)
step
- the step to check
public boolean isLastStep(WizardStep step)
step
- the step to check
public java.util.ArrayList getSteps()
public boolean contains(WizardStep step)
public abstract void acceptVisitor(PathVisitor visitor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |