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

📄 commandfactory.java

📁 移动博客程序
💻 JAVA
字号:
/* * Copyright (C) 2004 Mobile Blogger Development Team */package net.sourceforge.mobileblogger;import javax.microedition.lcdui.Command;public class CommandFactory {	public final static Command CMD_BACK = new Command("Back", Command.BACK, 1);	public final static Command CMD_EXIT = new Command("Exit", Command.EXIT, 1);	public final static Command CMD_OK = new Command("Ok", Command.OK, 1);	public final static Command CMD_PROTOCOL = new Command("Protocol Select", Command.BACK, 1);	public final static Command CMD_START = new Command("Start", Command.OK, 1);	public static boolean isCMD_BACK(Command c) {		if(c == CMD_BACK)			return true;		else			return false;	}	public static boolean isCMD_OK(Command c) {		if(c == CMD_OK)			return true;		else			return false;	}	public static boolean isCMD_PROTOCOL(Command c) {		if(c == CMD_PROTOCOL)			return true;		else			return false;	}}

⌨️ 快捷键说明

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