com.xinapse.multisliceimage.roi
Class CornerHandle

java.lang.Object
  extended by java.awt.geom.Point2D
      extended by java.awt.Point
          extended by com.xinapse.multisliceimage.roi.Handle
              extended by com.xinapse.multisliceimage.roi.CornerHandle
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
NorthEastHandle, NorthWestHandle, SouthEastHandle, SouthWestHandle

public abstract class CornerHandle
extends Handle

An abstract Class representing a Handle at one of the four corners of an ROI.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.Point2D
java.awt.geom.Point2D.Double, java.awt.geom.Point2D.Float
 
Field Summary
 
Fields inherited from class com.xinapse.multisliceimage.roi.Handle
SIZE_LARGE, SIZE_SMALL
 
Fields inherited from class java.awt.Point
x, y
 
Constructor Summary
CornerHandle(int x, int y, int size)
          Creates a new CornerHandle at the location (x,y) with the given size in screen pixels.
 
Method Summary
 
Methods inherited from class com.xinapse.multisliceimage.roi.Handle
draw, getBorderColor, getColor, getSize, getSize, getSize, pointOver, setBorderColor, setColor, setSize, toString
 
Methods inherited from class java.awt.Point
equals, getLocation, getX, getY, move, setLocation, setLocation, setLocation, translate
 
Methods inherited from class java.awt.geom.Point2D
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, hashCode, setLocation
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CornerHandle

public CornerHandle(int x,
                    int y,
                    int size)
Creates a new CornerHandle at the location (x,y) with the given size in screen pixels.

Parameters:
x - the x location of the Handle in screen coords.
y - the y location of the Handle in screen coords.
size - the size of the Handle in screen pixels.


Copyright 2006-2008 Xinapse Systems Limited. All Rights Reserved.