commandlistener.java

来自「soure code for j2me browser」· Java 代码 · 共 47 行

JAVA
47
字号
/* * Fire (Flexible Interface Rendering Engine) is a set of graphics widgets for creating GUIs for j2me applications.  * Copyright (C) 2006  Bluebird co (www.bluebird.gr) * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. *  *  * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * Lesser General Public License for more details. *  * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA *  *//* * Created on Aug 25, 2006 */package gr.bluevibe.fire.util;import gr.bluevibe.fire.components.Component;import javax.microedition.lcdui.Command;/** * All command events on the FireEngine components are passed to CommandListeners.  * The engine does not make a distinction between Commands on components or softkey/popup commands. * When a command is fired, the Listener is notified for the command as well as the Component that fired it.  * @author padeler * */public interface CommandListener{		/**	 * Informs the listener about a Command Action.	 * @param cmd the command that was fired 	 * @param c the component that fired the command	 */	public void commandAction(Command cmd, Component c);}

⌨️ 快捷键说明

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