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.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "resize".
public static final KnobType MOVE
moveKnobPoint
and moveKnobOffset
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "move".
public static final KnobType STARTPOINT
startPoint
.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "startPoint".
public static final KnobType ENDPOINT
endPoint
.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "endPoint".
public static final KnobType CONTROLPOINT1
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "controlPoint1".
public static final KnobType CONTROLPOINT2
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "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