public static enum MouseUtils.MouseButton extends Enum<MouseUtils.MouseButton>
| Modifier and Type | Method and Description |
|---|---|
int |
getButtonId() |
static MouseUtils.MouseButton |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MouseUtils.MouseButton[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MouseUtils.MouseButton LEFT
public static final MouseUtils.MouseButton RIGHT
public static final MouseUtils.MouseButton MIDDLE
public static MouseUtils.MouseButton[] values()
for (MouseUtils.MouseButton c : MouseUtils.MouseButton.values()) System.out.println(c);
public static MouseUtils.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 nullpublic int getButtonId()
Copyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.