|
JHotDraw 7.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jhotdraw.draw.BoxHandleKit
public class BoxHandleKit
A set of utility methods to create Handles for the common locations on a figure's display box.
| Constructor Summary | |
|---|---|
BoxHandleKit()
Creates a new instance. |
|
| Method Summary | |
|---|---|
static void |
addBoxHandles(Figure f,
java.util.Collection<Handle> handles)
Fills the given Vector with handles at each the north, south, east, and west of the figure. |
static void |
addEdgeHandles(Figure f,
java.util.Collection<Handle> handles)
Fills the given Vector with handles at each the north, south, east, and west of the figure. |
static void |
addLeadHandles(Figure f,
java.util.Collection<Handle> handles)
Creates handles for each lead of a figure and adds them to the provided collection. |
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 |
|---|
public BoxHandleKit()
| Method Detail |
|---|
public static void addLeadHandles(Figure f,
java.util.Collection<Handle> handles)
public static void addEdgeHandles(Figure f,
java.util.Collection<Handle> handles)
public static void addBoxHandles(Figure f,
java.util.Collection<Handle> handles)
public static Handle south(Figure owner)
public static Handle southEast(Figure owner)
public static Handle southWest(Figure owner)
public static Handle north(Figure owner)
public static Handle northEast(Figure owner)
public static Handle northWest(Figure owner)
public static Handle east(Figure owner)
public static Handle west(Figure owner)
|
Copyright 1996-2006 © JHotDraw.org | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||