Class Setting<K>
- java.lang.Object
-
- org.hippoecm.frontend.plugins.yui.javascript.Setting<K>
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
BooleanSetting
,DoubleSetting
,FunctionSetting
,IntSetting
,SettingsArraySetting
,StringArraySetting
,StringMapSetting
,StringSetting
public abstract class Setting<K> extends Object implements org.apache.wicket.util.io.IClusterable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
K
get(YuiObject settings)
String
getKey()
abstract String
getScriptValue(K value)
protected abstract K
getValueFromConfig(IPluginConfig config, YuiObject settings)
int
hashCode()
boolean
isValid(K value)
abstract K
newValue()
void
set(K value, YuiObject settings)
void
setAllowNull(boolean allowNull)
void
setFromConfig(IPluginConfig config, YuiObject settings)
abstract void
setFromString(String value, YuiObject settings)
String
toString()
-
-
-
Method Detail
-
setFromConfig
public void setFromConfig(IPluginConfig config, YuiObject settings)
-
getKey
public String getKey()
-
isValid
public boolean isValid(K value)
-
setAllowNull
public void setAllowNull(boolean allowNull)
-
newValue
public abstract K newValue()
-
getValueFromConfig
protected abstract K getValueFromConfig(IPluginConfig config, YuiObject settings)
-
-