public static class InputEvent.MouseInputEvent extends InputEvent
InputEvent.ClickInputEvent, InputEvent.KeyInputEvent, InputEvent.MouseInputEvent, InputEvent.MouseScrollEvent, InputEvent.RawMouseEvent
Event.HasResult, Event.Result
コンストラクタと説明 |
---|
MouseInputEvent(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, setup
public int getButton()
mouse constants starting with "GLFW_MOUSE_BUTTON_"
public int getAction()
GLFW.GLFW_PRESS
,
GLFW.GLFW_RELEASE
public int getMods()
GLFW.GLFW_MOD_SHIFT
,
GLFW.GLFW_MOD_CONTROL
,
GLFW.GLFW_MOD_ALT
,
GLFW.GLFW_MOD_SUPER