public class ResizeHandleKit
extends java.lang.Object
setBounds
method, if the Figure is transformable.Constructor and Description |
---|
ResizeHandleKit()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
addCornerResizeHandles(Figure f,
java.util.Collection<Handle> handles)
Creates handles for each corner of a
figure and adds them to the provided collection.
|
static void |
addEdgeResizeHandles(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 |
addResizeHandles(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 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) |
public static void addCornerResizeHandles(Figure f, java.util.Collection<Handle> handles)
public static void addEdgeResizeHandles(Figure f, java.util.Collection<Handle> handles)
public static void addResizeHandles(Figure f, java.util.Collection<Handle> handles)