public class BooleanSetting extends Setting<java.lang.Boolean>
| Constructor and Description |
|---|
BooleanSetting(java.lang.String key,
boolean defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
UICheckBox |
getComponent(MalisisGui gui)
Gets the component.
|
java.lang.Boolean |
getValueFromComponent()
Gets the value from component.
|
java.lang.Boolean |
readValue(java.lang.String stringValue)
Reads the value.
|
java.lang.String |
writeValue(java.lang.Boolean value)
Writes the value.
|
applySettingFromComponent, get, getComments, load, save, set, setCategory, setCommentpublic java.lang.Boolean readValue(java.lang.String stringValue)
Settingpublic java.lang.String writeValue(java.lang.Boolean value)
SettingwriteValue in class Setting<java.lang.Boolean>value - the valuepublic UICheckBox getComponent(MalisisGui gui)
SettinggetComponent in class Setting<java.lang.Boolean>gui - the guipublic java.lang.Boolean getValueFromComponent()
SettinggetValueFromComponent in class Setting<java.lang.Boolean>