| Previous | Next | Frames | No Frames |
| Summary: Field | Property | Contructor | Method | Detail: Field | Property | Contructor | Method |
Object | +--xp.events.KeyListener
Field Summary | |
| public | isKeyPressed: Boolean |
| is key currently pressed | |
| public | isRepeat: Boolean |
| is the last key press a repeat | |
| public static | keyListener |
| Our singleton | |
| public | lastKey: Number |
| code of last key pressed | |
Constructor | |
| public | KeyListener ( ) |
| Constructor | |
Method Summary | |
| public | attach ( target ) |
| Attach the listener to a component and activate | |
| public | detach ( target ) |
| Detach from a component and stop listening | |
| public | grab ( target ) |
| Temporarily Attach the listener to another component and activate | |
| public | release ( target ) |
| Detach from a component and restore back to ols parent | |
| public var isKeyPressed: Boolean |
| is key currently pressed |
| public var isRepeat: Boolean |
| is the last key press a repeat |
| public static var keyListener |
| Our singleton |
| public var lastKey: Number |
| code of last key pressed |
|
| Constructor |
|
| Attach the listener to a component and activate | |||
|
|
| Detach from a component and stop listening | |||
|
|
| Temporarily Attach the listener to another component and activate | |||
|
|
| Detach from a component and restore back to ols parent | |||
|