OME
Class View.GraphicLocation

java.lang.Object
  |
  +--OME.View.GraphicLocation
Enclosing class:
View

public static class View.GraphicLocation
extends java.lang.Object
implements View.Location

A particular kind of location that has a point in 2D space associated with it. Particularly useful for generating other GraphicLocations (such as a midpoint).


Constructor Summary
View.GraphicLocation()
           
 
Method Summary
 java.awt.Point getPoint()
          Returns the Point associated with this location.
 void setPoint(java.awt.Point p)
          Sets the Point associated with this location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

View.GraphicLocation

public View.GraphicLocation()
Method Detail

getPoint

public java.awt.Point getPoint()
Returns the Point associated with this location.

setPoint

public void setPoint(java.awt.Point p)
Sets the Point associated with this location.
Parameters:
p - the point to be assocaiated with this location