类 org.tinygroup.menucommand.config.SystemCommand
的使用

使用 SystemCommand 的软件包
org.tinygroup.menucommand   
org.tinygroup.menucommand.config   
org.tinygroup.menucommand.handler   
org.tinygroup.menucommand.impl   
 

org.tinygroup.menucommandSystemCommand 的使用
 

返回 SystemCommandorg.tinygroup.menucommand 中的方法
 SystemCommand MenuConfigManager.getSystemCommand(String command)
          匹配系统命令
 

返回变量类型为 SystemCommand 的类型的 org.tinygroup.menucommand 中的方法
 List<SystemCommand> MenuConfigManager.getSystemCommandList()
          获得支持的系统命令列表
 

参数类型为 SystemCommandorg.tinygroup.menucommand 中的方法
 void MenuConfigManager.addSystemCommand(SystemCommand command)
          添加系统命令
 void MenuConfigManager.removeSystemCommand(SystemCommand command)
          删除系统命令
 

org.tinygroup.menucommand.configSystemCommand 的使用
 

返回变量类型为 SystemCommand 的类型的 org.tinygroup.menucommand.config 中的方法
 List<SystemCommand> MenuConfigs.getSystemCommandList()
           
 

类型变量类型为 SystemCommandorg.tinygroup.menucommand.config 中的方法参数
 void MenuConfigs.setSystemCommandList(List<SystemCommand> systemCommandList)
           
 

org.tinygroup.menucommand.handlerSystemCommand 的使用
 

参数类型为 SystemCommandorg.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.implSystemCommand 的使用
 

返回 SystemCommandorg.tinygroup.menucommand.impl 中的方法
 SystemCommand MenuConfigManagerDefault.getSystemCommand(String command)
          根据命令匹配处理系统级命令,如home、back、exit
 

返回变量类型为 SystemCommand 的类型的 org.tinygroup.menucommand.impl 中的方法
 List<SystemCommand> MenuConfigManagerDefault.getSystemCommandList()
           
 

参数类型为 SystemCommandorg.tinygroup.menucommand.impl 中的方法
 void MenuConfigManagerDefault.addSystemCommand(SystemCommand command)
           
 void MenuConfigManagerDefault.removeSystemCommand(SystemCommand command)
           
 



Copyright © 2006–2016 TinyGroup. All rights reserved.