- All Implemented Interfaces:
Serializable,Comparable<Interpolators>,java.lang.constant.Constable
Enumerator that offers some new
Interpolators for JavaFX's animations.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptiongetCurve()abstract InterpolatorConverts aFunction<Double, Double>to a JavaFX'sInterpolator.static InterpolatorsReturns the enum constant of this class with the specified name.static Interpolators[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTERPOLATOR_V1
-
INTERPOLATOR_V2
-
LINEAR
-
EASE_IN
-
EASE_IN_SINE
-
EASE_OUT
-
EASE_OUT_SINE
-
EASE_IN_OUT
-
EASE_IN_OUT_SINE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toInterpolator
Converts aFunction<Double, Double>to a JavaFX'sInterpolator. -
getCurve
-