📄 command.java
字号:
/********************************************************************
*
* 版权说明,此程序仅供学习参考。不能用于商业
*
********************************************************************/
package org.pook.ui;
/**
* <b>类名:Command.java</b> </br> 编写日期: 2006-6-13 <br/> 程序功能描述�? <br/> Demo: <br/>
* Bug: <br/>
*
* 程序变更日期 �?<br/> 变更作�?? �?<br/> 变更说明 �?<br/>
*
* @author wuhua </br> <a href="mailto:rrq12345@163.com">rrq12345@163.com</a>
*/
public class Command {
String name;
/** 位置的显�? 1表示左边,2表示中间,3表示右边 */
int type;
/**
* 优先级别的参�?,其中0表示�?高优先级,其他的为普�?? �?高优先级的可以再安确定按钮的时�?�执�?,而不用�?�择那个按钮. 我在8.31重构了这个功�?
*/
int priority;
/** 表示次软键为左边显示 */
public final static int LEFT = 1;
public final static int MIDDLE = 2;
public final static int RIGHT = 3;
/**
* 优先级最高的
*/
public final static int FIRST_PRIORITY = 0;
public final static int GENERAL_PRIORITY = 1;
public Command(String name, int type, int priority) {
super();
// TODO Auto-generated constructor stub
this.name = name;
this.type = type;
this.priority = priority;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -