java.lang.Object
io.github.palexdev.materialfx.utils.AnimationUtils.KeyFrames
- Enclosing class:
- AnimationUtils
Builder class for keyframes and keyvalues.
-
Method Summary
Modifier and TypeMethodDescriptionstatic KeyFrameCallsof(Duration, KeyValue[])by converting the given millis value withDuration.millis(double).static <T> KeyFrameof(double millis, WritableValue<T> writableValue, T endValue) Callsof(Duration, WritableValue, Object)by converting the given millis value withDuration.millis(double).static <T> KeyFrameof(double millis, WritableValue<T> writableValue, T endValue, Interpolators interpolator) Callsof(Duration, WritableValue, Object, Interpolators)by converting the given millis value withDuration.millis(double).static <T> KeyFrameof(double millis, WritableValue<T> writableValue, T endValue, Interpolator interpolator) Callsof(Duration, WritableValue, Object, Interpolator)by converting the given millis value withDuration.millis(double).static KeyFrameof(double millis, EventHandler<ActionEvent> action) Callsof(Duration, EventHandler)by converting the given millis value withDuration.millis(double).static KeyFrameReturns a new KeyFrame with the given duration and keyvalues.static <T> KeyFrameof(Duration duration, WritableValue<T> writableValue, T endValue) Returns a new KeyFrame with the given duration and builds a new KeyValue for it with the given writable property and endValue.static <T> KeyFrameof(Duration duration, WritableValue<T> writableValue, T endValue, Interpolators interpolator) Returns a new KeyFrame with the given duration and builds a new KeyValue for it with the given writable property, endValue and interpolator.static <T> KeyFrameof(Duration duration, WritableValue<T> writableValue, T endValue, Interpolator interpolator) Returns a new KeyFrame with the given duration and builds a new KeyValue for it with the given writable property, endValue and interpolator.static KeyFrameof(Duration duration, EventHandler<ActionEvent> action) Returns a new KeyFrame with the given duration and action.
-
Method Details
-
of
Returns a new KeyFrame with the given duration and action. -
of
Callsof(Duration, EventHandler)by converting the given millis value withDuration.millis(double). -
of
Returns a new KeyFrame with the given duration and keyvalues. -
of
Callsof(Duration, KeyValue[])by converting the given millis value withDuration.millis(double). -
of
Returns a new KeyFrame with the given duration and builds a new KeyValue for it with the given writable property and endValue. -
of
Callsof(Duration, WritableValue, Object)by converting the given millis value withDuration.millis(double). -
of
public static <T> KeyFrame of(Duration duration, WritableValue<T> writableValue, T endValue, Interpolator interpolator) Returns a new KeyFrame with the given duration and builds a new KeyValue for it with the given writable property, endValue and interpolator. -
of
public static <T> KeyFrame of(double millis, WritableValue<T> writableValue, T endValue, Interpolator interpolator) Callsof(Duration, WritableValue, Object, Interpolator)by converting the given millis value withDuration.millis(double). -
of
public static <T> KeyFrame of(Duration duration, WritableValue<T> writableValue, T endValue, Interpolators interpolator) Returns a new KeyFrame with the given duration and builds a new KeyValue for it with the given writable property, endValue and interpolator. -
of
public static <T> KeyFrame of(double millis, WritableValue<T> writableValue, T endValue, Interpolators interpolator) Callsof(Duration, WritableValue, Object, Interpolators)by converting the given millis value withDuration.millis(double).
-