public class Button
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Button |
JOYSTICK_BUTTON1 |
static Button |
JOYSTICK_BUTTON10 |
static Button |
JOYSTICK_BUTTON11 |
static Button |
JOYSTICK_BUTTON12 |
static Button |
JOYSTICK_BUTTON2 |
static Button |
JOYSTICK_BUTTON3 |
static Button |
JOYSTICK_BUTTON4 |
static Button |
JOYSTICK_BUTTON5 |
static Button |
JOYSTICK_BUTTON6 |
static Button |
JOYSTICK_BUTTON7 |
static Button |
JOYSTICK_BUTTON8 |
static Button |
JOYSTICK_BUTTON9 |
static Button |
JOYSTICK_LEFT1 |
static Button |
JOYSTICK_LEFT2 |
static Button |
JOYSTICK_LEFT3 |
static Button |
JOYSTICK_RIGHT1 |
static Button |
JOYSTICK_RIGHT2 |
static Button |
JOYSTICK_RIGHT3 |
static Button |
JOYSTICK_SELECT |
static Button |
JOYSTICK_START |
static Button |
MOUSE_BUTTON1 |
static Button |
MOUSE_BUTTON2 |
static Button |
MOUSE_BUTTON3 |
Constructor and Description |
---|
Button(java.lang.String id,
java.lang.String name)
Creates a new button identifier with the specified logical ID
and name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getId()
Returns the logical ID of this button.
|
java.lang.String |
getName()
Returns the human-readable name of this button.
|
int |
hashCode() |
java.lang.String |
toString() |
public static final Button MOUSE_BUTTON1
public static final Button MOUSE_BUTTON2
public static final Button MOUSE_BUTTON3
public static final Button JOYSTICK_BUTTON1
public static final Button JOYSTICK_BUTTON2
public static final Button JOYSTICK_BUTTON3
public static final Button JOYSTICK_BUTTON4
public static final Button JOYSTICK_BUTTON5
public static final Button JOYSTICK_BUTTON6
public static final Button JOYSTICK_BUTTON7
public static final Button JOYSTICK_BUTTON8
public static final Button JOYSTICK_BUTTON9
public static final Button JOYSTICK_BUTTON10
public static final Button JOYSTICK_BUTTON11
public static final Button JOYSTICK_BUTTON12
public static final Button JOYSTICK_START
public static final Button JOYSTICK_SELECT
public static final Button JOYSTICK_LEFT1
public static final Button JOYSTICK_LEFT2
public static final Button JOYSTICK_LEFT3
public static final Button JOYSTICK_RIGHT1
public static final Button JOYSTICK_RIGHT2
public static final Button JOYSTICK_RIGHT3
public Button(java.lang.String id, java.lang.String name)
public java.lang.String getId()
public java.lang.String getName()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object