public class KeyStrokeImpl extends TriggerImpl
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KEY_DELIMITER
The delimiter between multiple keys in a single key strokes -- expressed
in the formal key stroke grammar.
|
static java.lang.String |
KEY_DELIMITERS
The set of delimiters for
Key objects allowed during parsing
of the formal string representation. |
static int |
NO_KEY
The representation for no key.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Trigger object)
Compare to another trigger
|
boolean |
equals(java.lang.Object object)
Tests whether this object is equal to another object.
|
int |
getKeyCode() |
boolean |
hasAltModifier() |
boolean |
hasCommandModifier() |
boolean |
hasCtrlModifier() |
int |
hashCode()
Computes the hash code for this object.
|
boolean |
hasShiftModifier() |
java.lang.String |
toString() |
public static final java.lang.String KEY_DELIMITER
public static final java.lang.String KEY_DELIMITERS
Key objects allowed during parsing
of the formal string representation.public static final int NO_KEY
public final int compareTo(Trigger object)
public final boolean equals(java.lang.Object object)
TriggerImplequals in class TriggerImplobject - The object with which to compare; may be null.true if the objects are equal; false
otherwise.public boolean hasAltModifier()
public boolean hasCtrlModifier()
public boolean hasShiftModifier()
public boolean hasCommandModifier()
public final int hashCode()
TriggerImplhashCode in class TriggerImplpublic int getKeyCode()
public java.lang.String toString()
toString in class java.lang.Object