public class MenuConfig extends BaseObject
Constructor and Description |
---|
MenuConfig() |
Modifier and Type | Method and Description |
---|---|
MenuCommand |
getMatchMenuCommand(String command)
得到匹配的子菜单命令
|
MenuConfig |
getMatchMenuConfig(String command)
得到匹配的子菜单配置
|
List<MenuCommand> |
getMenuCommandList() |
List<MenuConfig> |
getMenuConfigList() |
String |
getMenuConfigPath()
获得菜单所在路径
|
MenuConfig |
getParent() |
MenuCommand |
matchEvent(String eventType)
根据事件类型进行命令匹配
|
void |
setMenuCommandList(List<MenuCommand> menuCommandList) |
void |
setMenuConfigList(List<MenuConfig> menuConfigList) |
void |
setParent(MenuConfig parent) |
compile, getDescription, getId, getName, getPath, getPattern, getRegex, getTitle, match, setDescription, setId, setName, setPath, setPattern, setRegex, setTitle
public List<MenuConfig> getMenuConfigList()
public void setMenuConfigList(List<MenuConfig> menuConfigList)
public List<MenuCommand> getMenuCommandList()
public void setMenuCommandList(List<MenuCommand> menuCommandList)
public MenuConfig getParent()
public void setParent(MenuConfig parent)
public MenuConfig getMatchMenuConfig(String command)
command
- public MenuCommand getMatchMenuCommand(String command)
command
- public String getMenuConfigPath()
public MenuCommand matchEvent(String eventType)
eventType
- Copyright © 2006–2018 TinyGroup. All rights reserved.