|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pietschy.wizard.models.AbstractPath
public abstract class AbstractPath
Paths represent a sequence of WizardSteps.
| Constructor Summary | |
|---|---|
protected |
AbstractPath()
|
| 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 AbstractPath()
| Method Detail |
|---|
protected abstract Path getNextPath(MultiPathModel model)
public void addStep(WizardStep step)
Path
addStep in interface Pathstep - the next WizardStep in the path.public WizardStep firstStep()
firstStep in interface Pathpublic WizardStep nextStep(WizardStep currentStep)
nextStep in interface Pathpublic WizardStep previousStep(WizardStep currentStep)
previousStep in interface Pathpublic WizardStep lastStep()
lastStep in interface Pathpublic boolean isFirstStep(WizardStep step)
Path
isFirstStep in interface Pathstep - the step to check
public boolean isLastStep(WizardStep step)
Path
isLastStep in interface Pathstep - the step to check
public java.util.ArrayList getSteps()
getSteps in interface Pathpublic boolean contains(WizardStep step)
contains in interface Pathpublic abstract void acceptVisitor(PathVisitor visitor)
acceptVisitor in interface Path
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||