Command 类

方法/属性 描述
Command() 构造函数

command 方法

Command(String label, int commandType, int priority)
Command(String shortLabel, String longLabel, int commandType, int priority)
参数 描述
label 标题文字
commandType 命令类型
priority 优先级
shortLabel 标题文字(短)
longLabel 标题文字(长)

命令类型

参数 描述
Command.BACK  
Command.CANCEL  
Command.EXIT  
Command.HELP  
Command.ITEM  
Command.OK  
Command.SCREEN  
Command.STOP