|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjcontrol.ui.wombat.event.KeyEvent
public class KeyEvent
This event may be generated by the application's top level Frame object when a keyboard key is pressed. It is sent down the component tree through the focus path down to a basic KeyListener component, for example a button.
(C) DOMOLOGIC Home Automation GmbH 2005 - 2007
KeyListener| Field Summary | |
|---|---|
static int |
KEY_DOWN
Key function DOWN |
static int |
KEY_DOWN_PRESSED
|
static int |
KEY_DOWN_RELEASED
|
static int |
KEY_LEFT
Key function LEFT |
static int |
KEY_LEFT_PRESSED
|
static int |
KEY_LEFT_RELEASED
|
static int |
KEY_RIGHT
Key function RIGHT |
static int |
KEY_RIGHT_PRESSED
|
static int |
KEY_RIGHT_RELEASED
|
static int |
KEY_SELECT
Key function SELECT |
static int |
KEY_SELECT_PRESSED
|
static int |
KEY_SELECT_RELEASED
|
static int |
KEY_TRANSFER_FOCUS_BACKWARD
Key function 'transfer focus backward' |
static int |
KEY_TRANSFER_FOCUS_FORWARD
Key function 'transfer focus forward' |
static int |
KEY_UP
Key function UP |
static int |
KEY_UP_PRESSED
|
static int |
KEY_UP_RELEASED
|
char |
m_char
|
int |
m_key
|
static int |
TYPE_KEY_PRESSED
Indicate that a key was pressed |
static int |
TYPE_KEY_RELEASED
Indicate that a key has been released |
static int |
TYPE_PRESSED_MASK
|
| Constructor Summary | |
|---|---|
KeyEvent(int key,
char c)
Constructs a KeyEvent. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, notifyAll, toString, wait |
| Field Detail |
|---|
public static final int TYPE_KEY_PRESSED
public static final int TYPE_KEY_RELEASED
public static final int TYPE_PRESSED_MASK
public static final int KEY_UP
public static final int KEY_DOWN
public static final int KEY_SELECT
public static final int KEY_LEFT
public static final int KEY_RIGHT
public static final int KEY_TRANSFER_FOCUS_FORWARD
public static final int KEY_TRANSFER_FOCUS_BACKWARD
public static final int KEY_UP_PRESSED
public static final int KEY_DOWN_PRESSED
public static final int KEY_SELECT_PRESSED
public static final int KEY_LEFT_PRESSED
public static final int KEY_RIGHT_PRESSED
public static final int KEY_UP_RELEASED
public static final int KEY_DOWN_RELEASED
public static final int KEY_SELECT_RELEASED
public static final int KEY_LEFT_RELEASED
public static final int KEY_RIGHT_RELEASED
public int m_key
public char m_char
| Constructor Detail |
|---|
public KeyEvent(int key,
char c)
key - The key specified by a constant valuec - The character that was pressed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||