Creates an input-method key value.
Printable character carried by the key, if any.
Logical key name.
Whether Shift is pressed.
Whether Control is pressed.
Whether the key originated from the numpad.
ReadonlyasciiPrintable character value carried by the key, if any.
ReadonlyctrlIf the Control modifier is pressed.
ReadonlyisIf the key is on the Numpad.
ReadonlynameLogical key name used by the input method state machine.
ReadonlyshiftIf the Shift modifier 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.