Class BooleanSetting
- java.lang.Object
-
- org.hippoecm.frontend.plugins.yui.javascript.Setting<Boolean>
-
- org.hippoecm.frontend.plugins.yui.javascript.BooleanSetting
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.util.io.IClusterable
public class BooleanSetting extends Setting<Boolean>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BooleanSetting(String javascriptKey)
BooleanSetting(String javascriptKey, Boolean defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getScriptValue(Boolean value)
protected Boolean
getValueFromConfig(IPluginConfig config, YuiObject settings)
Boolean
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 Boolean getValueFromConfig(IPluginConfig config, YuiObject settings)
- Specified by:
getValueFromConfig
in classSetting<Boolean>
-
setFromString
public void setFromString(String value, YuiObject settings)
- Specified by:
setFromString
in classSetting<Boolean>
-
getScriptValue
public String getScriptValue(Boolean value)
- Specified by:
getScriptValue
in classSetting<Boolean>
-
-