T - Type of the property valuepublic class StringDerivedProperty<T> extends PropertyWrapper<T>
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.base.Function<java.lang.String,T> |
decoder |
defaultValue, prop| Constructor and Description |
|---|
StringDerivedProperty(java.lang.String propName,
T defaultValue,
com.google.common.base.Function<java.lang.String,T> decoder)
Create an instance of the property wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getValue()
Get current typed value of the property.
|
protected void |
propertyChanged()
Called when the property value is updated.
|
addCallback, addValidator, getChangedTimestamp, getDefaultValue, getDynamicProperty, getName, propertyChanged, registerSubClassWithNoCallback, removeAllCallbacks, toString, validateprotected final com.google.common.base.Function<java.lang.String,T> decoder
protected final void propertyChanged()
PropertyWrapperpropertyChanged in class PropertyWrapper<T>public T getValue()
PropertyWrapper