waba.ui
Class KeyEvent

waba.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.
 
Fields inherited from class waba.ui.Event
target, timeStamp, type
 
Constructor Summary
KeyEvent()
           
 
Methods inherited from class waba.lang.Object
toString
 

Field Detail

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
Constructor Detail

KeyEvent

public KeyEvent()