LongPropertyBase and provides a partial
implementation of a StyleableProperty. The method
StyleableProperty#getCssMetaData() is not implemented.
This class is used to make a javafx.beans.property.LongProperty ,
that would otherwise be implemented as a LongPropertyBase,
styleable by CSS.
javafx.beans.property.LongPropertyBase , CssMetaData, StyleableProperty
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private StyleableLongProperty. | |
| private StyleOrigin |
| Access | Constructor and Description |
|---|---|
| public | |
| public | StyleableLongProperty(long
the initial value of the wrapped initialValue)ObjectThe constructor of the |
| Modifier and Type | Method and Description |
|---|---|
| public void | applyStyle(StyleOrigin origin, Number v)
Implements javafx. This method is called from CSS code to set the value of the property. |
| public void | bind(ObservableValue<? extends Number> observable)
Overrides javafx. Implements javafx. Create a unidirection binding for this |
| private boolean | |
| public StyleOrigin | getStyleOrigin()
Implements javafx. Tells the origin of the value of the property. |
| private void | |
| public void | set(long v)
Overrides javafx. Implements javafx. Set the wrapped value. |
| mediator | back to summary |
|---|---|
| private StyleableLongProperty. | |
| origin | back to summary |
|---|---|
| private StyleOrigin origin | |
| StyleableLongProperty | back to summary |
|---|---|
| public StyleableLongProperty() The constructor of the | |
| StyleableLongProperty | back to summary |
|---|---|
| public StyleableLongProperty(long initialValue) The constructor of the
| |
| applyStyle | back to summary |
|---|---|
| public void applyStyle(StyleOrigin origin, Number v) Implements javafx. Doc from javafx. This method is called from CSS code to set the value of the property.
| |
| bind | back to summary |
|---|---|
| public void bind(ObservableValue<? extends Number> observable) Overrides javafx. Implements javafx. Doc from javafx. Create a unidirection binding for this Note that JavaFX has all the bind calls implemented through weak listeners. This means the bound property can be garbage collected and stopped from being updated.
| |
| equalsEndValue | back to summary |
|---|---|
| private boolean equalsEndValue(Object value) | |
| getStyleOrigin | back to summary |
|---|---|
| public StyleOrigin getStyleOrigin() Implements javafx. Doc from javafx. Tells the origin of the value of the property. This is needed to determine whether or not CSS can override the value.
| |
| onUserChange | back to summary |
|---|---|
| private void onUserChange() | |
| set | back to summary |
|---|---|
| public void set(long v) Overrides javafx. Implements javafx. Doc from javafx. Set the wrapped value.
Unlike
| |
| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private long | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public StyleableProperty | getStyleableProperty()
Implements abstract com. Returns the styleable property targeted by the transition. |
| public void | onStop()
Implements abstract com. Occurs when the timer has stopped and the mediator should be discarded. |
| public void | onUpdate(double progress)
Implements abstract com. Derived classes should implement this method to compute a new intermediate value
based on the current progress, and update the |
| public boolean | updateReversingAdjustedStartValue(TransitionMediator existingMediator)
Implements abstract com. Derived classes must implement the following protocol:
|
| endValue | back to summary |
|---|---|
| private final long endValue | |
| reversingAdjustedStartValue | back to summary |
|---|---|
| private long reversingAdjustedStartValue | |
| startValue | back to summary |
|---|---|
| private final long startValue | |
| TransitionMediatorImpl | back to summary |
|---|---|
| public TransitionMediatorImpl(long startValue, long endValue) | |
| getStyleableProperty | back to summary |
|---|---|
| public StyleableProperty Implements abstract com. Doc from com. Returns the styleable property targeted by the transition.
| |
| onStop | back to summary |
|---|---|
| public void onStop() Implements abstract com. Doc from com. Occurs when the timer has stopped and the mediator should be discarded. Derived classes should implement this method to clear any references to this mediator.
| |
| onUpdate | back to summary |
|---|---|
| public void onUpdate(double progress) Implements abstract com. Doc from com. Derived classes should implement this method to compute a new intermediate value
based on the current progress, and update the
| |
| updateReversingAdjustedStartValue | back to summary |
|---|---|
| public boolean updateReversingAdjustedStartValue(TransitionMediator existingMediator) Implements abstract com. Doc from com. Derived classes must implement the following protocol:
| |