⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 itemcommandlistener.java

📁 用于移动设备上的java虚拟机源代码
💻 JAVA
字号:
/* * @(#)ItemCommandListener.java	1.4 02/07/24 @(#) * * Copyright (c) 2002 Sun Microsystems, Inc.  All rights reserved. * PROPRIETARY/CONFIDENTIAL * Use is subject to license terms. */package javax.microedition.lcdui;/** * A listener type for receiving notification of commands that have been * invoked on {@link Item} objects.  An <code>Item</code> can have * <code>Commands</code> associated with * it.  When such a command is invoked, the application is notified by having * the {@link #commandAction commandAction()} method called on the * <code>ItemCommandListener</code> that had been set on the * <code>Item</code> with a call to * {@link Item#setItemCommandListener setItemCommandListener()}. * * @since MIDP 2.0 */public interface ItemCommandListener {    /**     * Called by the system to indicate that a command has been invoked on a      * particular item.     *      * @param c the <code>Command</code> that was invoked     * @param item the <code>Item</code> on which the command was invoked     */    public void commandAction(Command c, Item item);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -