|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--brf.j2me.dynaworks.env.Event
The Event class represents "raw" events generated by the PalmOS event loop that are passed to the application event handler 'handleSysEvent()'
EventQueue| Field Summary | |
static int |
APP_IDLE
event code |
static int |
APP_PWRDOWN
event code |
static int |
APP_PWRUP
event code |
static int |
APP_QUIT
event code |
static int |
APP_START
event code |
protected int |
code
Event code (one of the above constants). |
static int |
KEY_APP
event code |
static int |
KEY_BUTTON1
event code |
static int |
KEY_BUTTON2
event code |
static int |
KEY_BUTTON3
event code |
static int |
KEY_BUTTON4
event code |
static int |
KEY_CHAR
event code |
static int |
KEY_DOWN
event code |
static int |
KEY_MENU
event code |
static int |
KEY_UP
event code |
protected java.lang.Object |
param
Event parameter. |
static int |
PEN_DOWN
event code |
static int |
PEN_MOVE
event code |
static int |
PEN_UP
event code |
| Constructor Summary | |
Event(int code)
constructor. |
|
Event(int code,
int param)
constructor. |
|
Event(int code,
int x,
int y)
constructor. |
|
| Method Summary | |
int |
getCode()
get the event code |
java.lang.Object |
getParam()
get the event parameter |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final int APP_IDLE
public static final int APP_START
public static final int APP_PWRUP
public static final int APP_PWRDOWN
public static final int APP_QUIT
public static final int PEN_DOWN
public static final int PEN_MOVE
public static final int PEN_UP
public static final int KEY_CHAR
public static final int KEY_UP
public static final int KEY_DOWN
public static final int KEY_MENU
public static final int KEY_APP
public static final int KEY_BUTTON1
public static final int KEY_BUTTON2
public static final int KEY_BUTTON3
public static final int KEY_BUTTON4
protected int code
protected java.lang.Object param
| Constructor Detail |
public Event(int code)
code - int - event code.
public Event(int code,
int param)
code - int - event code.param - int - event parameter.
public Event(int code,
int x,
int y)
code - int - event code.x - int - x-coordinate of (pen) event.y - int - y-coordinate of (pen) event.| Method Detail |
public int getCode()
public java.lang.Object getParam()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||