| Modifier and Type | Method and Description |
|---|---|
static MouseButton |
MouseButton.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MouseButton[] |
MouseButton.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
InputAdapter.getMouse(MouseButton mouseButton)
Whether the button is currently pressed
|
boolean |
InputAdapter.getMouseDown(MouseButton mouseButton)
Whether the button is currently pressed.
|
boolean |
InputAdapter.getMouseUp(MouseButton mouseButton)
Returns true when the button has just been released
|
| Modifier and Type | Field and Description |
|---|---|
protected MouseButton |
MouseButtonTrigger.onClick |
| Modifier and Type | Method and Description |
|---|---|
MouseButton |
MouseButtonTrigger.get() |
| Constructor and Description |
|---|
MouseButtonTrigger(MouseButton onClick) |
MouseButtonTrigger(MouseButton onClick,
MouseButtonTrigger.Type type) |
| Modifier and Type | Field and Description |
|---|---|
protected MouseButton |
MouseEvent.button |
| Modifier and Type | Field and Description |
|---|---|
static Map<MouseButton,Integer> |
LWJGLInput.buttonIntegerMap |
static Map<Integer,MouseButton> |
LWJGLInput.integerButtonMap |
| Modifier and Type | Method and Description |
|---|---|
protected MouseButton |
LWJGLInput.toButton(int key) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
LWJGLInput.getMouse(MouseButton mouseButton) |
boolean |
LWJGLInput.getMouseDown(MouseButton mouseButton) |
boolean |
LWJGLInput.getMouseUp(MouseButton mouseButton) |
protected int |
LWJGLInput.toInt(MouseButton button) |
Copyright © 2014. All rights reserved.