FileDocCategorySizeDatePackage
ItemCommandListener.javaAPI DocphoneME MR2 API (J2ME)1934Wed May 02 18:00:24 BST 2007javax.microedition.lcdui

ItemCommandListener

public interface ItemCommandListener
A listener type for receiving notification of commands that have been invoked on {@link Item} objects. An Item can have Commands associated with it. When such a command is invoked, the application is notified by having the {@link #commandAction commandAction()} method called on the ItemCommandListener that had been set on the Item with a call to {@link Item#setItemCommandListener setItemCommandListener()}.

Fields Summary
Constructors Summary
Methods Summary
public voidcommandAction(Command c, Item item)
Called by the system to indicate that a command has been invoked on a particular item.

param
c the Command that was invoked
param
item the Item on which the command was invoked