T - property typepublic abstract class PropertyWrapper<T> extends Object implements CustomizableAnimation<PropertyWrapper<T>>
asObject()call ands allows animation customization.
| Constructor and Description |
|---|
PropertyWrapper() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addListener(javafx.beans.value.ChangeListener<? super T> listener)
Registers a listener
|
abstract PropertyWrapper<T> |
createParallelProperty()
Deprecated.
Currently unused and will be likely removed.
|
abstract javafx.beans.property.Property<T> |
getProperty() |
AnimationSettings |
getSettings() |
abstract T |
getValue() |
static <T> PropertyWrapper<T> |
of(javafx.beans.property.Property<T> property)
Gets a
PropertyWrapper for the given property. |
abstract void |
set(T value)
Changes the value of the wrapped property
|
<A extends PropertyWrapper<T>> |
withSettings(AnimationSettings settings)
Applies custom animation settings
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcustompublic abstract javafx.beans.property.Property<T> getProperty()
public abstract T getValue()
public abstract void set(T value)
value - new value to setpublic abstract void addListener(javafx.beans.value.ChangeListener<? super T> listener)
listener - listener to registerpublic abstract PropertyWrapper<T> createParallelProperty()
public AnimationSettings getSettings()
getSettings in interface CustomizableAnimation<PropertyWrapper<T>>public <A extends PropertyWrapper<T>> A withSettings(AnimationSettings settings)
withSettings in interface CustomizableAnimation<PropertyWrapper<T>>A - either T or subclasssettings - animation settings to setpublic static <T> PropertyWrapper<T> of(javafx.beans.property.Property<T> property)
PropertyWrapper for the given property.
If no match is found, ObjectPropertyWrapper is used.T - property typeproperty - JavaFX property to wrapPropertyWrapper that wraps property.eu.iamgio.animated.propertyCopyright © 2022. All rights reserved.