|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.piccolox.util.PLocator
public abstract class PLocator
PLocator provides an abstraction for locating points. Subclasses such as PNodeLocator and PBoundsLocator specialize this behavior by locating points on nodes, or on the bounds of nodes.
Constructor Summary | |
---|---|
PLocator()
Default constructor provided for subclasses. |
Method Summary | |
---|---|
Point2D |
locatePoint(Point2D dstPoint)
Locates the point this locator is responsible for finding, and stores it in dstPoints. |
abstract double |
locateX()
Locates the X component of the position this locator finds. |
abstract double |
locateY()
Locates the Y component of the position this locator finds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PLocator()
Method Detail |
---|
public Point2D locatePoint(Point2D dstPoint)
dstPoint
- output parameter to store the located point
public abstract double locateX()
public abstract double locateY()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |