Enum Constant and Description |
---|
CONTROLPOINT1
Display a draggable control knob along with a DrawLine indicating the angle between controlPoint1 and the startPoint.
|
CONTROLPOINT2
Display a draggable control knob along with a DrawLine indicating the angle between controlPoint2 and the endPoint.
|
ENDPOINT
Control knob to manipulate
endPoint . |
MOVE
Display a control knob for moving the item around.
|
RESIZE
Display up to 4 control knobs at the corners specified by
resizeKnobPoints , allowing the user to drag-resize the
item. |
STARTPOINT
Control knob to manipulate
startPoint . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static KnobType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KnobType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KnobType RESIZE
resizeKnobPoints
, allowing the user to drag-resize the
item.public static final KnobType MOVE
moveKnobPoint
and moveKnobOffset
public static final KnobType STARTPOINT
startPoint
.public static final KnobType CONTROLPOINT1
public static final KnobType CONTROLPOINT2
public static KnobType[] values()
for (KnobType c : KnobType.values()) System.out.println(c);
public static KnobType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null