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