edu.umd.cs.piccolox.util
Class PLocator

java.lang.Object
  extended by edu.umd.cs.piccolox.util.PLocator
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PNodeLocator

public abstract class PLocator
extends java.lang.Object
implements java.io.Serializable

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.

Version:
1.0
Author:
Jesse Grosjean
See Also:
Serialized Form

Constructor Summary
PLocator()
           
 
Method Summary
 java.awt.geom.Point2D locatePoint(java.awt.geom.Point2D aDstPoint)
           
abstract  double locateX()
           
abstract  double locateY()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PLocator

public PLocator()
Method Detail

locatePoint

public java.awt.geom.Point2D locatePoint(java.awt.geom.Point2D aDstPoint)

locateX

public abstract double locateX()

locateY

public abstract double locateY()


Copyright © 2008 by University of Maryland, College Park, MD 20742, USA All rights reserved.