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