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