public class BooleanOption extends Option<java.lang.Boolean>
Option.DataType
cb, config, currentValue, defaultValue, expert, forceWrite, longDesc, name, shortDesc, sortOrder
Constructor and Description |
---|
BooleanOption(SubConfig conf,
java.lang.String optionName,
boolean defaultValue,
int sortOrder,
boolean expert,
boolean forceWrite,
java.lang.String shortDesc,
java.lang.String longDesc,
BooleanCallback cb) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
parseString(java.lang.String val) |
protected java.lang.String |
toString(java.lang.Boolean val) |
forceUpdate, getCallback, getDataType, getDataTypeStr, getDefault, getLocalisedLongDesc, getLocalisedLongDesc, getLocalisedShortDesc, getLocalisedShortDesc, getLongDescNode, getLongDescNode, getName, getShortDesc, getShortDescNode, getShortDescNode, getSortOrder, getValue, getValueDisplayString, getValueString, isDefault, isExpert, isForcedWrite, set, setDefault, setInitialValue, setValue, toDisplayString
public BooleanOption(SubConfig conf, java.lang.String optionName, boolean defaultValue, int sortOrder, boolean expert, boolean forceWrite, java.lang.String shortDesc, java.lang.String longDesc, BooleanCallback cb)
public java.lang.Boolean parseString(java.lang.String val) throws InvalidConfigValueException
parseString
in class Option<java.lang.Boolean>
InvalidConfigValueException