public abstract class Setting<K> extends Object implements org.apache.wicket.util.io.IClusterable
Constructor and Description |
---|
Setting(String javascriptKey,
K defaultValue) |
Modifier and Type | Method and 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() |
public void setFromConfig(IPluginConfig config, YuiObject settings)
public String getKey()
public boolean isValid(K value)
public void setAllowNull(boolean allowNull)
public abstract K newValue()
protected abstract K getValueFromConfig(IPluginConfig config, YuiObject settings)
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.