|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface MenuConfigManager
菜单管理器
| 方法摘要 | |
|---|---|
void |
addMenuConfig(MenuConfig config)
添加定义菜单 |
void |
addMenuConfigs(MenuConfigs configs)
添加一组定义菜单 |
void |
addSystemCommand(SystemCommand command)
添加系统命令 |
CommandExecutor |
getCommandExecutor(String menuId,
String command,
org.tinygroup.context.Context context)
得到对应的命令执行器 |
MenuConfig |
getMenuConfig(String menuId)
获得指定的菜单 |
SystemCommand |
getSystemCommand(String command)
匹配系统命令 |
List<SystemCommand> |
getSystemCommandList()
获得支持的系统命令列表 |
void |
removeMenuConfig(MenuConfig config)
删除定义菜单 |
void |
removeMenuConfigs(MenuConfigs configs)
删除一组定义菜单 |
void |
removeSystemCommand(SystemCommand command)
删除系统命令 |
| 方法详细信息 |
|---|
void addMenuConfigs(MenuConfigs configs)
configs - void removeMenuConfigs(MenuConfigs configs)
configs - void addMenuConfig(MenuConfig config)
config - void removeMenuConfig(MenuConfig config)
config - MenuConfig getMenuConfig(String menuId)
menuId -
void addSystemCommand(SystemCommand command)
command - void removeSystemCommand(SystemCommand command)
command - SystemCommand getSystemCommand(String command)
command -
List<SystemCommand> getSystemCommandList()
CommandExecutor getCommandExecutor(String menuId,
String command,
org.tinygroup.context.Context context)
menuId - command - context -
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||