org.pietschy.wizard.models
Class SimplePath
java.lang.Object
org.pietschy.wizard.models.AbstractPath
org.pietschy.wizard.models.SimplePath
- All Implemented Interfaces:
- Path
- Direct Known Subclasses:
- UpdatePath
public class SimplePath
- extends AbstractPath
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),
AbstractPath.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:
AbstractPath
- Gets the path that will follow this one.
- Specified by:
getNextPath in class AbstractPath
- Returns:
- the next path.
getNextPath
public Path getNextPath()
setNextPath
public void setNextPath(Path nextPath)
acceptVisitor
public void acceptVisitor(PathVisitor visitor)
- Specified by:
acceptVisitor in interface Path- Specified by:
acceptVisitor in class AbstractPath
visitNextPath
public void visitNextPath(PathVisitor visitor)