T - The content typepublic static class AbstractToStringProperty.ChildProperty<T> extends AbstractToStringProperty<T>
AbstractToStringProperty.ChildProperty<T>AbstractProperty.InvalidPreferenceValueException, AbstractProperty.ValueChangeEvent<T>, AbstractProperty.ValueChangeListener<T>| Modifier and Type | Field and Description |
|---|---|
private AbstractToStringProperty<T> |
parent |
defaultValue, key, preferences| Constructor and Description |
|---|
ChildProperty(AbstractToStringProperty<T> parent,
java.lang.String key) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addListenerImpl(PreferenceChangedListener adapter) |
CachingProperty<T> |
cached()
Creates a new
CachingProperty instance for this property. |
protected T |
fromString(java.lang.String string)
Converts the string to an object of the given type.
|
T |
getDefaultValue()
Replies the default value of this property.
|
protected void |
removeListenerImpl(PreferenceChangedListener adapter) |
protected void |
storeDefaultValue()
Store the default value to the preferences.
|
protected java.lang.String |
toString(T t)
Converts the string to an object of the given type.
|
get, getAsString, getChildProperty, getSpecialized, putaddListener, addWeakListener, equals, getKey, getPreferences, hashCode, isSet, remove, removeListenerprivate final AbstractToStringProperty<T> parent
ChildProperty(AbstractToStringProperty<T> parent, java.lang.String key)
protected void storeDefaultValue()
AbstractPropertystoreDefaultValue in class AbstractProperty<T>public T getDefaultValue()
AbstractPropertygetDefaultValue in class AbstractProperty<T>protected T fromString(java.lang.String string)
AbstractToStringPropertyfromString in class AbstractToStringProperty<T>string - The stringprotected java.lang.String toString(T t)
AbstractToStringPropertytoString in class AbstractToStringProperty<T>t - The object.protected void addListenerImpl(PreferenceChangedListener adapter)
addListenerImpl in class AbstractProperty<T>protected void removeListenerImpl(PreferenceChangedListener adapter)
removeListenerImpl in class AbstractProperty<T>public CachingProperty<T> cached()
AbstractPropertyCachingProperty instance for this property.cached in class AbstractProperty<T>