|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventListener
An event listener interface defines the method used to dispatch events.
Due to the small device's limitations, there is not an event listener hierarchy.
Instead, events are classified by an integer value.
Negative values are reserved for future MWT extensions and 0 is used for undefined
event types.
Field Summary | |
---|---|
static int |
EVENT_ACTION
Constant for action event types. |
static int |
EVENT_UNDEFINED
Constant for undefined event types. |
Method Summary | |
---|---|
void |
processEvent(int eventType,
Component c,
java.lang.Object[] args)
Processes an event. |
Field Detail |
---|
static final int EVENT_UNDEFINED
static final int EVENT_ACTION
Method Detail |
---|
void processEvent(int eventType, Component c, java.lang.Object[] args)
eventType
- The event typec
- An optional componentargs
- Optional args
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |