- All Implemented Interfaces:
Serializable,Comparable<AnimationFactory>,Constable
Convenience factory for various animations applied to
Nodes.- See Also:
-
Timeline
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final javafx.animation.Interpolatorstatic final javafx.animation.Interpolator -
Method Summary
Modifier and TypeMethodDescriptionabstract javafx.animation.Timelinebuild(javafx.scene.Node node, double durationMillis) static AnimationFactoryReturns the enum constant of this class with the specified name.static AnimationFactory[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FADE_IN
-
FADE_OUT
-
SLIDE_IN_BOTTOM
-
SLIDE_OUT_BOTTOM
-
SLIDE_IN_LEFT
-
SLIDE_OUT_LEFT
-
SLIDE_IN_RIGHT
-
SLIDE_OUT_RIGHT
-
SLIDE_IN_TOP
-
SLIDE_OUT_TOP
-
-
Field Details
-
INTERPOLATOR_V1
public static final javafx.animation.Interpolator INTERPOLATOR_V1 -
INTERPOLATOR_V2
public static final javafx.animation.Interpolator INTERPOLATOR_V2
-
-
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
-
build
public abstract javafx.animation.Timeline build(javafx.scene.Node node, double durationMillis)
-