Class DoubleSetting
- java.lang.Object
-
- org.hippoecm.frontend.plugins.yui.javascript.Setting<Double>
-
- org.hippoecm.frontend.plugins.yui.javascript.DoubleSetting
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.util.io.IClusterable
public class DoubleSetting extends Setting<Double>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DoubleSetting(String javascriptKey)
DoubleSetting(String javascriptKey, Double defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getScriptValue(Double value)
protected Double
getValueFromConfig(IPluginConfig config, YuiObject settings)
Double
newValue()
void
setFromString(String value, YuiObject settings)
-
Methods inherited from class org.hippoecm.frontend.plugins.yui.javascript.Setting
equals, get, getKey, hashCode, isValid, set, setAllowNull, setFromConfig, toString
-
-
-
-
Method Detail
-
getValueFromConfig
protected Double getValueFromConfig(IPluginConfig config, YuiObject settings)
- Specified by:
getValueFromConfig
in classSetting<Double>
-
setFromString
public void setFromString(String value, YuiObject settings)
- Specified by:
setFromString
in classSetting<Double>
-
getScriptValue
public String getScriptValue(Double value)
- Specified by:
getScriptValue
in classSetting<Double>
-
-