public static class InputEvent.RawMouseEvent extends InputEvent
InputEvent.ClickInputEvent, InputEvent.KeyInputEvent, InputEvent.MouseInputEvent, InputEvent.MouseScrollEvent, InputEvent.RawMouseEventEvent.HasResult, Event.Result| コンストラクタと説明 |
|---|
RawMouseEvent(int button,
int action,
int mods) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getAction()
Integer representing the mouse button's action.
|
int |
getButton()
The mouse button that triggered this event.
|
int |
getMods()
Bit field representing the modifier keys pressed.
|
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic int getButton()
mouse constants starting with "GLFW_MOUSE_BUTTON_"public int getAction()
GLFW.GLFW_PRESS,
GLFW.GLFW_RELEASEpublic int getMods()
GLFW.GLFW_MOD_SHIFT,
GLFW.GLFW_MOD_CONTROL,
GLFW.GLFW_MOD_ALT,
GLFW.GLFW_MOD_SUPER