|
BenQ Mobile |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is used by applications which need to receive high-level events from the implementation. An application will provide an implementation of a Listener (typically by using a nested class or an inner class) and will then provide an instance of it on a Screen in order to receive high-level events on that screen.
The specification does not require the platform to create several threads for the event delivery. Thus, if a Listener method does not return or the return is not delayed, the system may be blocked. So, there is the following note to application developers:
Displayable.setCommandListener(javax.microedition.lcdui.CommandListener)
Method Summary | |
void |
commandAction(Command c,
Displayable d)
Indicates that a command event has occurred on Screen s. |
Method Detail |
public void commandAction(Command c, Displayable d)
Note for application developer: the method should return immediately.
c
- a Command object identifying the commandd
- the Displayable on which this event has occurred
|
BenQ Mobile |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2006 BenQ Mobile GmbH & Co. OHG or respective copyright owner. All Rights Reserved. BenQ Corp. is a trademark licensee of Siemens AG. |
For further information about Mobility Toolkit (MTK) visit our Developer Portal. |