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:
BlackBerry API 4.0.0, 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

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
Since:
BlackBerry API 4.0.0





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.