edu.umd.cs.piccolox.util
Class PBoundsLocator

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

public class PBoundsLocator
extends PNodeLocator

PBoundsLocator is a locator that locates points on the bounds of a node.

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

Field Summary
 
Fields inherited from class edu.umd.cs.piccolox.util.PNodeLocator
node
 
Constructor Summary
PBoundsLocator(PNode node, int aSide)
           
 
Method Summary
static PBoundsLocator createEastLocator(PNode node)
           
static PBoundsLocator createNorthEastLocator(PNode node)
           
static PBoundsLocator createNorthLocator(PNode node)
           
static PBoundsLocator createNorthWestLocator(PNode node)
           
static PBoundsLocator createSouthEastLocator(PNode node)
           
static PBoundsLocator createSouthLocator(PNode node)
           
static PBoundsLocator createSouthWestLocator(PNode node)
           
static PBoundsLocator createWestLocator(PNode node)
           
 int getSide()
           
 double locateX()
           
 double locateY()
           
 void setSide(int side)
           
 
Methods inherited from class edu.umd.cs.piccolox.util.PNodeLocator
getNode, setNode
 
Methods inherited from class edu.umd.cs.piccolox.util.PLocator
locatePoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PBoundsLocator

public PBoundsLocator(PNode node,
                      int aSide)
Method Detail

createEastLocator

public static PBoundsLocator createEastLocator(PNode node)

createNorthEastLocator

public static PBoundsLocator createNorthEastLocator(PNode node)

createNorthWestLocator

public static PBoundsLocator createNorthWestLocator(PNode node)

createNorthLocator

public static PBoundsLocator createNorthLocator(PNode node)

createSouthLocator

public static PBoundsLocator createSouthLocator(PNode node)

createWestLocator

public static PBoundsLocator createWestLocator(PNode node)

createSouthWestLocator

public static PBoundsLocator createSouthWestLocator(PNode node)

createSouthEastLocator

public static PBoundsLocator createSouthEastLocator(PNode node)

getSide

public int getSide()

setSide

public void setSide(int side)

locateX

public double locateX()
Overrides:
locateX in class PNodeLocator

locateY

public double locateY()
Overrides:
locateY in class PNodeLocator


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

Web Accessibility