zinger.nibbles.drivers
Class Path
java.lang.Object
|
+--zinger.nibbles.drivers.Path
- public class Path
- extends java.lang.Object
Constructor Summary |
protected |
Path()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
PATH_RECYCLER
public static final ObjectRecycler PATH_RECYCLER
POINT_RECYCLER
protected static final ObjectRecycler POINT_RECYCLER
queue
protected final java.util.List queue
roQueue
public final java.util.List roQueue
Path
protected Path()
addKeyPoint
public void addKeyPoint(int x,
int y)
insertPathBeforePoint
public boolean insertPathBeforePoint(Path path,
java.awt.Point p)
- Inserts the contents of the specified path before
p
.
- Parameters:
path
- the path to be insertedp
- the point object in the path- Returns:
- whether the operation was successful (will fail if
p
was not found)
appendPath
public boolean appendPath(Path path)
- Appends the contents of the specified path at the end of this one.
- Parameters:
path
- the path to be appended- Returns:
- whether the operation was successful
clear
public void clear()