public class BooleanSetting extends Setting<java.lang.Boolean>
Constructor and Description |
---|
BooleanSetting(java.lang.String key,
boolean defaultValue) |
Modifier and Type | Method and Description |
---|---|
UIComponent |
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.
|
get, getComments, load, save, set, setCategory, setComment
public java.lang.Boolean readValue(java.lang.String stringValue)
Setting
public java.lang.String writeValue(java.lang.Boolean value)
Setting
writeValue
in class Setting<java.lang.Boolean>
value
- the valuepublic UIComponent getComponent(MalisisGui gui)
Setting
getComponent
in class Setting<java.lang.Boolean>
gui
- the guipublic java.lang.Boolean getValueFromComponent()
Setting
getValueFromComponent
in class Setting<java.lang.Boolean>