private class LabeledText.StyleablePropertyMirror<T> extends SimpleStyleableObjectProperty<T> implements InvalidationListener
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
applying |
private StyleableProperty<T> |
property |
| Modifier | Constructor and Description |
|---|---|
private |
StyleablePropertyMirror(CssMetaData<LabeledText,T> cssMetaData,
java.lang.String name,
T initialValue,
StyleableProperty<T> property) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyStyle(StyleOrigin newOrigin,
T value)
This method is called from CSS code to set the value of the property.
|
StyleOrigin |
getStyleOrigin()
Tells the origin of the value of the property.
|
void |
invalidated(Observable observable)
This method needs to be provided by an implementation of
InvalidationListener. |
getBean, getCssMetaData, getNamebind, setaddListener, addListener, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, toString, unbindbindBidirectional, setValue, unbindBidirectionalasString, asString, asString, getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpressionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValue, setValuegetValueboolean applying
private final StyleableProperty<T> property
private StyleablePropertyMirror(CssMetaData<LabeledText,T> cssMetaData, java.lang.String name, T initialValue, StyleableProperty<T> property)
public void invalidated(Observable observable)
InvalidationListenerInvalidationListener. It is called if an Observable
becomes invalid.
In general is is considered bad practice to modify the observed value in this method.
invalidated in interface InvalidationListenerobservable - The Observable that became invalidpublic void applyStyle(StyleOrigin newOrigin, T value)
StyleableObjectPropertyapplyStyle in interface StyleableProperty<T>applyStyle in class StyleableObjectProperty<T>public StyleOrigin getStyleOrigin()
StyleableObjectPropertygetStyleOrigin in interface StyleableProperty<T>getStyleOrigin in class StyleableObjectProperty<T>