CH.ifa.draw.standard
Class BoxHandleKit

java.lang.Object
  extended by CH.ifa.draw.standard.BoxHandleKit

public class BoxHandleKit
extends java.lang.Object

A set of utility methods to create Handles for the common locations on a figure's display box.

See Also:
Handle

Constructor Summary
BoxHandleKit()
           
 
Method Summary
static void addCornerHandles(Figure f, java.util.Vector handles)
          Fills the given Vector with handles at each corner of a figure.
static void addHandles(Figure f, java.util.Vector handles)
          Fills the given Vector with handles at each corner and the north, south, east, and west of the figure.
static Handle east(Figure owner)
           
static Handle north(Figure owner)
           
static Handle northEast(Figure owner)
           
static Handle northWest(Figure owner)
           
static Handle south(Figure owner)
           
static Handle southEast(Figure owner)
           
static Handle southWest(Figure owner)
           
static Handle west(Figure owner)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoxHandleKit

public BoxHandleKit()
Method Detail

addCornerHandles

public static void addCornerHandles(Figure f,
                                    java.util.Vector handles)
Fills the given Vector with handles at each corner of a figure.


addHandles

public static void addHandles(Figure f,
                              java.util.Vector handles)
Fills the given Vector with handles at each corner and the north, south, east, and west of the figure.


south

public static Handle south(Figure owner)

southEast

public static Handle southEast(Figure owner)

southWest

public static Handle southWest(Figure owner)

north

public static Handle north(Figure owner)

northEast

public static Handle northEast(Figure owner)

northWest

public static Handle northWest(Figure owner)

east

public static Handle east(Figure owner)

west

public static Handle west(Figure owner)