public static enum MouseEvent.MouseButton extends Enum<MouseEvent.MouseButton>
| Enum Constant and Description |
|---|
LEFT
The left mouse button was depressed.
|
MIDDLE
The middle mouse button was depressed.
|
RIGHT
The right mouse button was depressed.
|
UNSPECIFIED
The mouse button could not be determined.
|
| Modifier and Type | Method and Description |
|---|---|
static MouseEvent.MouseButton |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MouseEvent.MouseButton[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MouseEvent.MouseButton UNSPECIFIED
public static final MouseEvent.MouseButton LEFT
public static final MouseEvent.MouseButton MIDDLE
public static final MouseEvent.MouseButton RIGHT
public static MouseEvent.MouseButton[] values()
for (MouseEvent.MouseButton c : MouseEvent.MouseButton.values()) System.out.println(c);
public static MouseEvent.MouseButton valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.