|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.ps.PsPath
public class PsPath
A list of path elements that defines a path.
Constructor Summary | |
---|---|
PsPath()
|
Method Summary | |
---|---|
void |
add(PsPathElement newElement)
Adds a new element to this path. |
PsPathElement |
getElement(int index)
Returns a specific element from the path. |
PsPathElement |
getLastElement()
Returns the last element in this path. |
PsPathMove |
getStartCurrentSubPath()
Returns the element that starts the current sub path. |
boolean |
isEmpty()
Indicates whether this path has any elements in it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PsPath()
Method Detail |
---|
public void add(PsPathElement newElement)
newElement
- The new element to be added.public PsPathElement getElement(int index)
index
- The index to the path element.
index
.public boolean isEmpty()
public PsPathElement getLastElement()
public PsPathMove getStartCurrentSubPath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |