public enum ModifierKeyAction extends java.lang.Enum<ModifierKeyAction>
Enum Constant and Description |
---|
ExtendSelection
Similar to Select, but does not deselect currently selected items when
they are outside of a newly drawn lasso rectangle.
|
Magnify
Magnifies the diagram objects under the mouse while the modifier key is pressed down.
|
None
Specifies that a modifier key does not have any specific function assigned to it.
|
OverrideBehavior
While the modifier key is pressed down, dragging the mouse starts creating a new item
or drawing a selection rectangle instead of modifying a selected item.
|
Pan
Pan the view if the mouse is dragged while the modifier key is pressed down.
|
Select
Start drawing a selection rectangle if the mouse is dragged while a modifier key is pressed down.
|
Zoom
Start drawing a zoom-lasso if the mouse is dragged while respective modifier key is pressed down.
|
Modifier and Type | Method and Description |
---|---|
static ModifierKeyAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModifierKeyAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModifierKeyAction None
public static final ModifierKeyAction Pan
public static final ModifierKeyAction Select
public static final ModifierKeyAction OverrideBehavior
public static final ModifierKeyAction Magnify
public static final ModifierKeyAction ExtendSelection
public static final ModifierKeyAction Zoom
public static ModifierKeyAction[] values()
for (ModifierKeyAction c : ModifierKeyAction.values()) System.out.println(c);
public static ModifierKeyAction 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