actioncommand.java

来自「基于j2me平台的,手机开发的MVC框架源码」· Java 代码 · 共 30 行

JAVA
30
字号
package net.sf.mvc.mobile.command;import javax.microedition.lcdui.Command;import javax.microedition.lcdui.Displayable;import net.sf.mvc.mobile.Navigation;public abstract class ActionCommand extends Command {	protected Object parameter;	public ActionCommand(String label, int commandType, int priority) {		super(label, commandType, priority);	}	public ActionCommand() {		super(null, 0, 0);	}	/**	 * @return identifier of the next Displayable to show or null if no view	 *         change is required	 */	public abstract Navigation execute(Displayable d) throws Exception;	public void setParameter(Object parameter) {		this.parameter = parameter;	}}

⌨️ 快捷键说明

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