Package schule.ngb.zm.anim
Class Animations
java.lang.Object
schule.ngb.zm.anim.Animations
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final <T> Future<T>animateProperty(String propName, T target, double to, int runtime, DoubleUnaryOperator easing) static final <T> Future<T>animateProperty(String propName, T target, Color to, int runtime, DoubleUnaryOperator easing) static final <T> Future<T>animateProperty(String propName, T target, Vector to, int runtime, DoubleUnaryOperator easing) static final <T> Future<T>animateProperty(T target, double from, double to, int runtime, DoubleUnaryOperator easing, DoubleConsumer propSetter) static final <T,R> Future<T> animateProperty(T target, R from, R to, int runtime, DoubleUnaryOperator easing, DoubleFunction<R> interpolator, Consumer<R> propSetter) static final <T> Future<T>animateProperty(T target, Color from, Color to, int runtime, DoubleUnaryOperator easing, Consumer<Color> propSetter) static final <T> Future<T>animateProperty(T target, Vector from, Vector to, int runtime, DoubleUnaryOperator easing, Consumer<Vector> propSetter) play(Animation<T> animation, DoubleUnaryOperator easing) static final <T> Future<T>play(T target, int runtime, DoubleUnaryOperator easing, DoubleConsumer stepper) static final <T,R> Future<T> play(T target, int runtime, DoubleUnaryOperator easing, DoubleFunction<R> interpolator, BiConsumer<T, R> applicator) static <T> Animation<T>playAndWait(Animation<T> animation) static final <T> TplayAndWait(T target, int runtime, DoubleUnaryOperator easing, DoubleConsumer stepper)
-
Field Details
-
LOG
-
-
Constructor Details
-
Animations
public Animations()
-
-
Method Details
-
animateProperty
public static final <T> Future<T> animateProperty(String propName, T target, double to, int runtime, DoubleUnaryOperator easing) -
animateProperty
public static final <T> Future<T> animateProperty(String propName, T target, Color to, int runtime, DoubleUnaryOperator easing) -
animateProperty
public static final <T> Future<T> animateProperty(String propName, T target, Vector to, int runtime, DoubleUnaryOperator easing) -
animateProperty
public static final <T> Future<T> animateProperty(T target, double from, double to, int runtime, DoubleUnaryOperator easing, DoubleConsumer propSetter) -
animateProperty
-
animateProperty
-
animateProperty
public static final <T,R> Future<T> animateProperty(T target, R from, R to, int runtime, DoubleUnaryOperator easing, DoubleFunction<R> interpolator, Consumer<R> propSetter) -
play
public static final <T,R> Future<T> play(T target, int runtime, DoubleUnaryOperator easing, DoubleFunction<R> interpolator, BiConsumer<T, R> applicator) -
play
public static final <T> Future<T> play(T target, int runtime, DoubleUnaryOperator easing, DoubleConsumer stepper) -
playAndWait
public static final <T> T playAndWait(T target, int runtime, DoubleUnaryOperator easing, DoubleConsumer stepper) -
play
-
playAndWait
-
play
-