| 构造器和说明 |
|---|
MenuItem() |
| 限定符和类型 | 方法和说明 |
|---|---|
MenuItem |
disableItem(java.lang.String optpath,
boolean disable) |
<T> T |
fetchOption(java.lang.String optpath)
|
ItemType |
getCatalog() |
boolean |
isContainer() |
<T> T |
optionValueOf(java.lang.String optpath)
|
MenuItem |
readonlyOption(java.lang.String optpath,
boolean readonly) |
java.lang.Object |
runCmd(java.lang.String cmdpath,
java.util.Map<java.lang.String,?> parameters)
执行cmdpath指定的命令
|
<T> MenuItem |
updateValueOf(java.lang.String optpath,
T value)
更新选项的值,如果
optpath指定的BaseOption不存在则跳过 |
addChilds, addChilds, childCount, childNames, equals, find, findBase64Option, findBoolOption, findChecked, findCheckOption, findCmd, findCmdChecked, findDateOption, findFloatOption, findImageOption, findIntOption, findIPv4Option, findMACOption, findMenu, findMenuChecked, findOption, findOptionChecked, findPasswordOption, findStringOption, findSwitchOption, findUrlOption, getChild, getChildByPath, getChilds, getDescription, getName, getParent, getPath, getUiName, hashCode, isDisable, isEmpty, json, setChilds, setDescription, setDisable, setName, setPath, setUiName, toString, updateChildpublic MenuItem()
public final boolean isContainer()
isContainer 在类中 BaseItempublic final ItemType getCatalog()
getCatalog 在类中 BaseItempublic java.lang.Object runCmd(java.lang.String cmdpath, java.util.Map<java.lang.String,?> parameters) throws UnsupportCmdException, CmdExecutionException
cmdpath - parameters - 命令参数,参数名-参数值(json格式),没有参数,可以输入null或空UnsupportCmdExceptionCmdExecutionExceptionpublic MenuItem readonlyOption(java.lang.String optpath, boolean readonly)
public MenuItem disableItem(java.lang.String optpath, boolean disable)
public <T> T fetchOption(java.lang.String optpath)
optpath - BaseOption.fetch()public <T> T optionValueOf(java.lang.String optpath)
optpath - BaseOption.getValue()public <T> MenuItem updateValueOf(java.lang.String optpath, T value)
optpath指定的BaseOption不存在则跳过optpath - value - BaseOption.updateFrom(Object)Copyright © 2019. All Rights Reserved.