waba.ui
Class KeyEvent
java.lang.Object
|
+--waba.ui.Event
|
+--waba.ui.KeyEvent
- public class KeyEvent
- extends Event
KeyEvent is a key press event.
Field Summary |
int |
key
The key pressed or entered by other means (grafitti input). |
static int |
KEY_PRESS
The event type for a key press event. |
int |
modifiers
The state of the modifier keys when the event occured. |
Methods inherited from class java.lang.Object |
hashCode,
toString |
KEY_PRESS
public static final int KEY_PRESS
- The event type for a key press event.
key
public int key
- The key pressed or entered by other means (grafitti input). This
is either a normal character key (if the value is < 70000) or
one of the special keys defined in the IKeys interface.
- See Also:
IKeys
modifiers
public int modifiers
- The state of the modifier keys when the event occured. This is a
OR'ed combination of the modifiers present in the IKeys interface.
- See Also:
IKeys
KeyEvent
public KeyEvent()