public static enum SelectAction.Mode extends java.lang.Enum<SelectAction.Mode>
Enum Constant and Description |
---|
MOVE
"MOVE" means either dragging or select if no mouse movement occurs (i.e.
|
ROTATE
"ROTATE" allows to apply a rotation transformation on the selected object (see
RotateCommand ) |
SCALE
"SCALE" allows to apply a scaling transformation on the selected object (see
ScaleCommand ) |
SELECT
"SELECT" means the selection rectangle
|
Modifier and Type | Method and Description |
---|---|
static SelectAction.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SelectAction.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectAction.Mode MOVE
public static final SelectAction.Mode ROTATE
RotateCommand
)public static final SelectAction.Mode SCALE
ScaleCommand
)public static final SelectAction.Mode SELECT
public static SelectAction.Mode[] values()
for (SelectAction.Mode c : SelectAction.Mode.values()) System.out.println(c);
public static SelectAction.Mode 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