public class IntSetting extends Setting<Integer>
Constructor and Description |
---|
IntSetting(String javascriptKey) |
IntSetting(String javascriptKey,
Integer defaultValue) |
Modifier and Type | Method and Description |
---|---|
String |
getScriptValue(Integer value) |
protected Integer |
getValueFromConfig(IPluginConfig config,
YuiObject settings) |
Integer |
newValue() |
void |
setFromString(String value,
YuiObject settings) |
equals, get, getKey, hashCode, isValid, set, setAllowNull, setFromConfig, toString
public IntSetting(String javascriptKey)
protected Integer getValueFromConfig(IPluginConfig config, YuiObject settings)
getValueFromConfig
in class Setting<Integer>
public void setFromString(String value, YuiObject settings)
setFromString
in class Setting<Integer>
public String getScriptValue(Integer value)
getScriptValue
in class Setting<Integer>
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.