public enum MouseMode extends Enum<MouseMode >
| Enum Constant and Description |
|---|
DRAG
Dragging content
|
NAVIGATE
Navigation mode
|
POLYSELECT
Select a polygonal area
|
SELECT
Select a rectangular area
|
| Modifier and Type | Method and Description |
|---|---|
static MouseMode |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static MouseMode |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final MouseModeNAVIGATE
public static final MouseModeSELECT
public static final MouseModePOLYSELECT
public static final MouseModeDRAG
public static MouseMode[] values()
for (MouseMode c : MouseMode.values()) System.out.println(c);
public static MouseModevalueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null