public static enum Mouse.Button extends Enum<Mouse.Button>
| Enum Constant and Description | 
|---|
LEFT
The left mouse button. 
 | 
MIDDLE
The middle mouse button, or mouse wheel on many mouses, if available. 
 | 
RIGHT
The right mouse button. 
 | 
XBUTTON1
The first extra mouse button, if available. 
 | 
XBUTTON2
The second extra mouse button, if available. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Mouse.Button | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Mouse.Button[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Mouse.Button LEFT
public static final Mouse.Button RIGHT
public static final Mouse.Button MIDDLE
public static final Mouse.Button XBUTTON1
public static final Mouse.Button XBUTTON2
public static Mouse.Button[] values()
for (Mouse.Button c : Mouse.Button.values()) System.out.println(c);
public static Mouse.Button 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 null