# 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
  --- | --- | ---
  `class` | `FadeTransition` | This `Transition` creates a fade effect animation that spans its `duration`.
  `class` | `FillTransition` | This `Transition` creates an animation, that changes the filling of a shape over a `duration`.
  `class` | `ParallelTransition` | This `Transition` plays a list of `Animations` in parallel.
  `class` | `PathTransition` | This `Transition` creates a path animation that spans its `duration`.
  `class` | `PauseTransition` | This `Transition` executes an `onFinished` at the end of its `duration`.
  `class` | `RotateTransition` | This `Transition` creates a rotation animation that spans its `duration`.
  `class` | `ScaleTransition` | This `Transition` creates a scale animation that spans its `duration`.
  `class` | `SequentialTransition` | This `Transition` plays a list of `Animations` in sequential order.
  `class` | `StrokeTransition` | This `Transition` creates an animation, that changes the stroke color of a shape over a `duration`.
  `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`.
  `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
  --- | --- | ---
  `ObservableList<Animation>` | ParallelTransition.`getChildren()` | A list of `Animations` that will be played sequentially.
  `ObservableList<Animation>` | SequentialTransition.`getChildren()` | A list of `Animations` that will be played sequentially.

  Constructors in javafx.animation with parameters of type Animation
  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.