public class Event
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ALT |
static int |
CTRL |
static int |
KEY |
static int |
META |
static int |
MOUSE |
static int |
SHIFT |
static int |
TOUCH |
Constructor and Description |
---|
Event(java.lang.Object nativeObject,
long millis,
int action,
int modifiers) |
Modifier and Type | Method and Description |
---|---|
int |
getAction() |
int |
getFlavor() |
long |
getMillis() |
int |
getModifiers() |
java.lang.Object |
getNative()
Get the platform-native event object.
|
boolean |
isAltDown() |
boolean |
isControlDown() |
boolean |
isMetaDown() |
boolean |
isShiftDown() |
public static final int SHIFT
public static final int CTRL
public static final int META
public static final int ALT
public static final int KEY
public static final int MOUSE
public static final int TOUCH
public Event(java.lang.Object nativeObject, long millis, int action, int modifiers)
public int getFlavor()
public java.lang.Object getNative()
public long getMillis()
public int getAction()
public int getModifiers()
public boolean isShiftDown()
public boolean isControlDown()
public boolean isMetaDown()
public boolean isAltDown()