Creates an input-method key value.
Whether Shift is pressed.
Whether Control is pressed.
Whether the key originated from the numpad.
ReadonlyaltReadonlyaltReadonlyasciiReadonlycodeReadonlyctrlWhether Control is pressed.
ReadonlyisWhether the key originated from the numpad.
ReadonlynameReadonlyshiftWhether Shift is pressed.
If the key is for moving the input cursor.
If the key is for deleting the previous character.
Returns a string representation of the key.
A string representation of the key.
StaticasciiCreates a key with an ASCII character.
The ASCII character.
If the shift key is pressed.
If the control key is pressed.
The key.
Staticnamed
Encapsulates the keys accepted by KeyHandler. This class never attempts to represent all key states that a generic input method framework desires to handle. Instead, this class only reflects the keys KeyHandler will handle.
This is not always a perfect representation (for example, shift muddles the picture), but is sufficient for KeyHandler's needs.