public static enum MouseClickEvent.MouseButton extends Enum<MouseClickEvent.MouseButton>
| Modifier and Type | Method and Description |
|---|---|
static MouseClickEvent.MouseButton |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MouseClickEvent.MouseButton[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MouseClickEvent.MouseButton LEFT
public static final MouseClickEvent.MouseButton MIDDLE
public static final MouseClickEvent.MouseButton RIGHT
public static MouseClickEvent.MouseButton[] values()
for (MouseClickEvent.MouseButton c : MouseClickEvent.MouseButton.values()) System.out.println(c);
public static MouseClickEvent.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–2021 Flowing Code. All rights reserved.