public static class Mouse.ButtonEvent extends Mouse.Event
| Modifier and Type | Class and Description |
|---|---|
static class |
Mouse.ButtonEvent.Id
Enumerates the supported mouse buttons.
|
Event.Input, Event.XY| Modifier and Type | Field and Description |
|---|---|
Mouse.ButtonEvent.Id |
button
The id of the button associated with this event.
|
boolean |
down
True if the button was just pressed, false if it was just released.
|
flags, timeF_PREVENT_DEFAULT| Constructor and Description |
|---|
ButtonEvent(int flags,
double time,
float x,
float y,
Mouse.ButtonEvent.Id button,
boolean down) |
clearFlag, isAltDown, isCtrlDown, isMetaDown, isSet, isShiftDown, modifierFlags, setFlag, toString, updateFlagpublic final Mouse.ButtonEvent.Id button
public boolean down
public ButtonEvent(int flags,
double time,
float x,
float y,
Mouse.ButtonEvent.Id button,
boolean down)
Copyright © 2018. All Rights Reserved.