public class Event
extends 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(Object nativeObject,
long millis,
int action,
int modifiers) |
Modifier and Type | Method and Description |
---|---|
int |
getAction() |
int |
getFlavor() |
long |
getMillis() |
int |
getModifiers() |
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 int getFlavor()
public Object getNative()
public long getMillis()
public int getAction()
public int getModifiers()
public boolean isShiftDown()
public boolean isControlDown()
public boolean isMetaDown()
public boolean isAltDown()