|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 SystemCommand 的软件包 | |
|---|---|
| org.tinygroup.menucommand | |
| org.tinygroup.menucommand.config | |
| org.tinygroup.menucommand.handler | |
| org.tinygroup.menucommand.impl | |
| org.tinygroup.menucommand 中 SystemCommand 的使用 |
|---|
| 返回 SystemCommand 的 org.tinygroup.menucommand 中的方法 | |
|---|---|
SystemCommand |
MenuConfigManager.getSystemCommand(String command)
匹配系统命令 |
| 返回变量类型为 SystemCommand 的类型的 org.tinygroup.menucommand 中的方法 | |
|---|---|
List<SystemCommand> |
MenuConfigManager.getSystemCommandList()
获得支持的系统命令列表 |
| 参数类型为 SystemCommand 的 org.tinygroup.menucommand 中的方法 | |
|---|---|
void |
MenuConfigManager.addSystemCommand(SystemCommand command)
添加系统命令 |
void |
MenuConfigManager.removeSystemCommand(SystemCommand command)
删除系统命令 |
| org.tinygroup.menucommand.config 中 SystemCommand 的使用 |
|---|
| 返回变量类型为 SystemCommand 的类型的 org.tinygroup.menucommand.config 中的方法 | |
|---|---|
List<SystemCommand> |
MenuConfigs.getSystemCommandList()
|
| 类型变量类型为 SystemCommand 的 org.tinygroup.menucommand.config 中的方法参数 | |
|---|---|
void |
MenuConfigs.setSystemCommandList(List<SystemCommand> systemCommandList)
|
| org.tinygroup.menucommand.handler 中 SystemCommand 的使用 |
|---|
| 参数类型为 SystemCommand 的 org.tinygroup.menucommand.handler 中的方法 | |
|---|---|
protected void |
HomeCommandHandler.execute(String command,
SystemCommand systemCommand,
MenuConfig config,
org.tinygroup.context.Context context)
|
protected void |
ShowCommandHandler.execute(String command,
SystemCommand systemCommand,
MenuConfig config,
org.tinygroup.context.Context context)
|
protected void |
BackCommandHandler.execute(String command,
SystemCommand systemCommand,
MenuConfig config,
org.tinygroup.context.Context context)
|
protected void |
HelpCommandHandler.execute(String command,
SystemCommand systemCommand,
MenuConfig config,
org.tinygroup.context.Context context)
|
protected void |
ExitCommandHandler.execute(String command,
SystemCommand systemCommand,
MenuConfig config,
org.tinygroup.context.Context context)
|
protected void |
QueryCommandHandler.execute(String command,
SystemCommand systemCommand,
MenuConfig config,
org.tinygroup.context.Context context)
|
protected abstract void |
SystemCommandHandler.execute(String command,
SystemCommand systemCommand,
MenuConfig config,
org.tinygroup.context.Context context)
执行相关菜单逻辑,保存渲染路径和跳转菜单id |
protected String |
SystemCommandHandler.getRenderPath(SystemCommand systemCommand,
org.tinygroup.context.Context context)
|
| org.tinygroup.menucommand.impl 中 SystemCommand 的使用 |
|---|
| 返回 SystemCommand 的 org.tinygroup.menucommand.impl 中的方法 | |
|---|---|
SystemCommand |
MenuConfigManagerDefault.getSystemCommand(String command)
根据命令匹配处理系统级命令,如home、back、exit |
| 返回变量类型为 SystemCommand 的类型的 org.tinygroup.menucommand.impl 中的方法 | |
|---|---|
List<SystemCommand> |
MenuConfigManagerDefault.getSystemCommandList()
|
| 参数类型为 SystemCommand 的 org.tinygroup.menucommand.impl 中的方法 | |
|---|---|
void |
MenuConfigManagerDefault.addSystemCommand(SystemCommand command)
|
void |
MenuConfigManagerDefault.removeSystemCommand(SystemCommand command)
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||