public enum MouseButtonAction extends java.lang.Enum<MouseButtonAction>
Enum Constant and Description |
---|
Cancel
Cancels the current drawing operation.
|
Draw
Draw new items or modify existing items.
|
Magnify
Magnifies the items under the mouse while the button is pressed down.
|
Pan
Pans the view if the mouse is dragged while the button is pressed down.
|
Select
Starts a multiple selection operation.
|
Zoom
Draw a zoom-lasso if the mouse is dragged with specified button pressed down.
|
Modifier and Type | Method and Description |
---|---|
static MouseButtonAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MouseButtonAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MouseButtonAction Pan
public static final MouseButtonAction Cancel
public static final MouseButtonAction Select
public static final MouseButtonAction Draw
public static final MouseButtonAction Magnify
public static final MouseButtonAction Zoom
public static MouseButtonAction[] values()
for (MouseButtonAction c : MouseButtonAction.values()) System.out.println(c);
public static MouseButtonAction 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