Enum KnobType
- All Implemented Interfaces:
ValueEnum
,Serializable
,Comparable<KnobType>
,Constable
DrawItem.knobs
array. Each specified
knobType will enable some UI allowing the user to manipulate the DrawItem directly. NOTE: Not all knob types
are supported by each DrawItem type. Refer to the DrawItem type's knobs
attribute documentation for a list of the supported knob
types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDisplay a draggable control knob along with a DrawLine indicating the angle between controlPoint1 and the startPoint.Display a draggable control knob along with a DrawLine indicating the angle between controlPoint2 and the endPoint.Control knob to manipulateDrawLine.endPoint
.Display a control knob for moving the item around.Display up to 8 control knobs at the corners specified byDrawItem.resizeKnobPoints
, allowing the user to drag-resize the item.Display a rotation knob above the top resize knob, allowing the user to rotate the item.Control knob to manipulateDrawLine.startPoint
. -
Method Summary
-
Enum Constant Details
-
RESIZE
Display up to 8 control knobs at the corners specified byDrawItem.resizeKnobPoints
, allowing the user to drag-resize the item. See alsoDrawItem.cornerResizeKnob
andDrawItem.sideResizeKnob
.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "resize". -
MOVE
Display a control knob for moving the item around. See alsoDrawItem.moveKnobPoint
andDrawItem.moveKnobOffset
If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "move". -
STARTPOINT
Control knob to manipulateDrawLine.startPoint
.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "startPoint". -
ENDPOINT
Control knob to manipulateDrawLine.endPoint
.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "endPoint". -
CONTROLPOINT1
Display a draggable control knob along with a DrawLine indicating the angle between controlPoint1 and the startPoint. Dragging the knob will adjust controlPoint1.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "controlPoint1". -
CONTROLPOINT2
Display a draggable control knob along with a DrawLine indicating the angle between controlPoint2 and the endPoint. Dragging the knob will adjust controlPoint2.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "controlPoint2". -
ROTATE
Display a rotation knob above the top resize knob, allowing the user to rotate the item. See alsoDrawItem.rotateKnob
.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "rotate".
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
-