javax.microedition.lcdui
Interface ItemCommandListener
- public interface ItemCommandListener
A listener type for receiving notification of commands that have been
invoked on Item objects. An Item can have
Commands associated with
it. When such a command is invoked, the application is notified by having
the commandAction() method called on the
ItemCommandListener that had been set on the
Item with a call to
setItemCommandListener().
- Since:
- MIDP 2.0
|
Method Summary |
void |
commandAction(Command c,
Item item)
Called by the system to indicate that a command has been invoked on a
particular item. |
commandAction
public void commandAction(Command c,
Item item)
- Called by the system to indicate that a command has been invoked on a
particular item.
- Parameters:
c - the Command that was invokeditem - the Item on which the command was invoked
Send a comment or suggestion Version 2.0 of Mobile Information Device Profile Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-2002 Sun Microsystems, Inc. and Motorola, Inc. All Rights Reserved. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.