BenQ Mobile

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.
 

Method Detail

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 invoked
item - the Item on which the command was invoked

BenQ Mobile

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.