E - public class SwitchOption<E> extends CheckOption<E>
optionsobservable, type| 构造器和说明 |
|---|
SwitchOption() |
| 限定符和类型 | 方法和说明 |
|---|---|
E |
getSwitch() |
OptionType |
getType() |
CheckOption<E> |
setSelected(java.util.List<E> sel) |
CheckOption<E> |
setSwitch(E value) |
BaseOption<java.util.Set<java.lang.Integer>> |
setValidator(com.google.common.base.Predicate<java.util.Set<java.lang.Integer>> validator)
设置数据验证器
|
addOption, contentOfOptions, getOptions, getSelected, setOptions, setSelected, setValueaddChilds, addListener, asDefaultValue, asValue, compile, contentOfValue, deleteListener, fetch, getCatalog, getDefaultValue, getValue, isContainer, isReadOnly, isRequired, javaType, setDefaultValue, setReadOnly, setRequired, setValue, updateFrom, updateFrom, validateaddChilds, 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 SwitchOption()
public final OptionType getType()
getType 在类中 CheckOption<E>public BaseOption<java.util.Set<java.lang.Integer>> setValidator(com.google.common.base.Predicate<java.util.Set<java.lang.Integer>> validator)
BaseOptionsetValidator 在类中 CheckOption<E>validator - 为null忽略public CheckOption<E> setSwitch(E value)
public CheckOption<E> setSelected(java.util.List<E> sel)
setSelected 在类中 CheckOption<E>Copyright © 2019. All Rights Reserved.