Package | Description |
---|---|
org.tinygroup.menucommand | |
org.tinygroup.menucommand.config | |
org.tinygroup.menucommand.handler | |
org.tinygroup.menucommand.impl |
Modifier and Type | Method and Description |
---|---|
MenuConfig |
MenuConfigManager.getMenuConfig(String menuId)
获得指定的菜单
|
Modifier and Type | Method and Description |
---|---|
void |
MenuConfigManager.addMenuConfig(MenuConfig config)
添加定义菜单
|
void |
MenuConfigManager.removeMenuConfig(MenuConfig config)
删除定义菜单
|
Modifier and Type | Method and Description |
---|---|
MenuConfig |
MenuConfig.getMatchMenuConfig(String command)
得到匹配的子菜单配置
|
MenuConfig |
MenuCommand.getMenuConfig() |
MenuConfig |
MenuConfig.getParent() |
Modifier and Type | Method and Description |
---|---|
List<MenuConfig> |
MenuConfigs.getMenuConfigList() |
List<MenuConfig> |
MenuConfig.getMenuConfigList() |
Modifier and Type | Method and Description |
---|---|
void |
MenuCommand.setMenuConfig(MenuConfig menuConfig) |
void |
MenuConfig.setParent(MenuConfig parent) |
Modifier and Type | Method and Description |
---|---|
void |
MenuConfigs.setMenuConfigList(List<MenuConfig> menuConfigList) |
void |
MenuConfig.setMenuConfigList(List<MenuConfig> menuConfigList) |
Modifier and Type | Method and Description |
---|---|
protected void |
ShowCommandHandler.dealEnterEvent(String command,
MenuConfig config,
Context context)
只有满足菜单位置发生变动和用户配置Enter事件处理器才执行
|
protected void |
SystemCommandHandler.dealExitEvent(String command,
MenuConfig config,
Context context)
执行退出操作
|
protected abstract void |
SystemCommandHandler.execute(String command,
SystemCommand systemCommand,
MenuConfig config,
Context context)
执行相关菜单逻辑,保存渲染路径和跳转菜单id
|
protected void |
HelpCommandHandler.execute(String command,
SystemCommand systemCommand,
MenuConfig config,
Context context) |
protected void |
BackCommandHandler.execute(String command,
SystemCommand systemCommand,
MenuConfig config,
Context context) |
protected void |
ExitCommandHandler.execute(String command,
SystemCommand systemCommand,
MenuConfig config,
Context context) |
protected void |
HomeCommandHandler.execute(String command,
SystemCommand systemCommand,
MenuConfig config,
Context context) |
protected void |
QueryCommandHandler.execute(String command,
SystemCommand systemCommand,
MenuConfig config,
Context context) |
protected void |
ShowCommandHandler.execute(String command,
SystemCommand systemCommand,
MenuConfig config,
Context context) |
Modifier and Type | Method and Description |
---|---|
MenuConfig |
MenuConfigManagerDefault.getMenuConfig(String menuId) |
Modifier and Type | Method and Description |
---|---|
void |
MenuConfigManagerDefault.addMenuConfig(MenuConfig config)
递归添加子菜单
|
void |
MenuConfigManagerDefault.removeMenuConfig(MenuConfig config) |
Copyright © 2006–2018 TinyGroup. All rights reserved.