The KeyEvent Interface makes the KeyEvents available to the converter objects
author: Wolf Paulus version: $Revision: 1.2 $
Field Summary
char
CHAR_UNDEFINED KEY_PRESSED and KEY_RELEASED events which do not map to a
valid Unicode character use this for the keyChar value.
int
KEY_FIRST The first number in the range of ids used for key events.
int
KEY_LAST The last number in the range of ids used for key events.
int
KEY_LOCATION_LEFT A constant indicating that the key pressed or released is in
the left key location (there is more than one possible location
for this key).
int
KEY_LOCATION_NUMPAD A constant indicating that the key event originated on the
numeric keypad or with a virtual key corresponding to the
numeric keypad.
int
KEY_LOCATION_RIGHT A constant indicating that the key pressed or released is in
the right key location (there is more than one possible location
for this key).
int
KEY_LOCATION_STANDARD A constant indicating that the key pressed or released
is not distinguished as the left or right version of a key,
and did not originate on the numeric keypad (or did not
originate with a virtual key corresponding to the numeric
keypad).
int
KEY_LOCATION_UNKNOWN A constant indicating that the keyLocation is indeterminate
or not relevant.
A constant indicating that the key pressed or released is in
the left key location (there is more than one possible location
for this key). Example: the left shift key.
since: 1.4
A constant indicating that the key pressed or released is in
the right key location (there is more than one possible location
for this key). Example: the right shift key.
since: 1.4
A constant indicating that the key pressed or released
is not distinguished as the left or right version of a key,
and did not originate on the numeric keypad (or did not
originate with a virtual key corresponding to the numeric
keypad).
since: 1.4
A constant indicating that the keyLocation is indeterminate
or not relevant.
KEY_TYPED events do not have a keyLocation; this value
is used instead.
since: 1.4
The "key typed" event. This event is generated when a character is
entered. In the simplest case, it is produced by a single key press.
Often, however, characters are produced by series of key presses, and
the mapping from key pressed events to key typed events may be
many-to-one or many-to-many.