Uses of Class javafx.animation.Animation (JavaFX 28)
Description: use: module: javafx.graphics, package: javafx.animation, class: Animation

# Uses of Class
javafx.animation.Animation

Packages that use Animation
Package
Description
javafx.animation
Provides the set of classes for ease of use transition based animations.
javafx.scene.chart
The JavaFX User Interface provides a set of chart components that are a very convenient way for data visualization.

- ## Uses of Animation in javafx.animation

  Subclasses of Animation in javafx.animation
  Modifier and Type
  Class
  Description
  `final class`
  `FadeTransition`
  This `Transition` creates a fade effect animation that spans its `duration`.
  `final class`
  `FillTransition`
  This `Transition` creates an animation, that changes the filling of a shape over a `duration`.
  `final class`
  `ParallelTransition`
  This `Transition` plays a list of `Animations` in parallel.
  `final class`
  `PathTransition`
  This `Transition` creates a path animation that spans its `duration`.
  `final class`
  `PauseTransition`
  This `Transition` executes an `Animation.onFinished` at the end of its `duration`.
  `final class`
  `RotateTransition`
  This `Transition` creates a rotation animation that spans its `duration`.
  `final class`
  `ScaleTransition`
  This `Transition` creates a scale animation that spans its `duration`.
  `final class`
  `SequentialTransition`
  This `Transition` plays a list of `Animations` in sequential order.
  `final class`
  `StrokeTransition`
  This `Transition` creates an animation, that changes the stroke color of a shape over a `duration`.
  `final class`
  `Timeline`
  A `Timeline` can be used to define a free form animation of any `WritableValue`, for example, all `JavaFX Properties`.
  `class`
  `Transition`
  An abstract class that contains the basic functionalities required by all `Transition` based animations, such as `PathTransition` and `RotateTransition`.
  `final class`
  `TranslateTransition`
  This `Transition` creates a move/translate animation that spans its `duration`.
  Methods in javafx.animation that return types with arguments of type Animation
  Modifier and Type
  Method
  Description
  `final ObservableList<Animation>`
  ParallelTransition.`getChildren()`
  A list of `Animations` that will be played sequentially.
  `final ObservableList<Animation>`
  SequentialTransition.`getChildren()`
  A list of `Animations` that will be played sequentially.
  Constructors in javafx.animation with parameters of type Animation
  Modifier
  Constructor
  Description
  ``
  `ParallelTransition(Animation... children)`
  The constructor of `ParallelTransition`.
  ``
  `ParallelTransition(Node node, Animation... children)`
  The constructor of `ParallelTransition`.
  ``
  `SequentialTransition(Animation... children)`
  The constructor of `SequentialTransition`.
  ``
  `SequentialTransition(Node node, Animation... children)`
  The constructor of `SequentialTransition`.

- ## Uses of Animation in javafx.scene.chart

  Methods in javafx.scene.chart with parameters of type Animation
  Modifier and Type
  Method
  Description
  `protected void`
  Chart.`animate(Animation animation)`
  Play the given animation on every frame of the animation the chart will be relayed out until the animation finishes.