org.pietschy.wizard.models
Class SimplePath
java.lang.Object
org.pietschy.wizard.models.Path
org.pietschy.wizard.models.SimplePath
- public class SimplePath
- extends Path
A SimplePath represents a sequence of wizard steps
whose next path is determined
at compile time. That is, SimplePaths can't branch.
- See Also:
setNextPath(org.pietschy.wizard.models.Path)
,
Path.addStep(org.pietschy.wizard.WizardStep)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplePath
public SimplePath()
SimplePath
public SimplePath(WizardStep step)
- Creates a new SimplePath that is initialized with the specified step.
- Parameters:
step
- the first step of the path.
getNextPath
protected Path getNextPath(MultiPathModel model)
- Description copied from class:
Path
- Gets the path that will follow this one.
- Specified by:
getNextPath
in class Path
- Returns:
- the next path.
getNextPath
public Path getNextPath()
setNextPath
public void setNextPath(Path nextPath)
acceptVisitor
public void acceptVisitor(PathVisitor visitor)
- Specified by:
acceptVisitor
in class Path
visitNextPath
public void visitNextPath(PathVisitor visitor)
Copyright © 2004 Andrew Pietsch.