public final class HotKeyPressed
extends java.lang.Object
HotKeyReleased| Modifier and Type | Field and Description |
|---|---|
static int |
MOD_FLAG_ALT
The ALT modifier flag.
|
static int |
MOD_FLAG_CTRL
The CTRL modifier flag.
|
static int |
MOD_FLAG_SHIFT
The SHIFT modifier flag.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassName()
Gets the event class name.
|
int |
getKey()
Gets the key that was pressed.
|
int |
getModifiers()
Gets the key modifiers that were in use.
|
boolean |
isEventClass(java.lang.Class eventClass)
Indicates if this event matches a given event class.
|
boolean |
isUserDefined()
Indicates if this event is user defined or not.
|
public static final int MOD_FLAG_SHIFT
public static final int MOD_FLAG_CTRL
public static final int MOD_FLAG_ALT
public int getKey()
public int getModifiers()
MOD_FLAG_SHIFT,
MOD_FLAG_CTRL,
MOD_FLAG_ALTpublic final boolean isEventClass(java.lang.Class eventClass)
EventIfcisEventClass in interface EventIfceventClass - The event class.true if this event is of the same class,
otherwise false.public final boolean isUserDefined()
EventIfcisUserDefined in interface EventIfctrue if user defined, otherwise false.public final java.lang.String getClassName()
EventIfcgetClassName in interface EventIfc