Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 17510fc

Browse files
committedMay 22, 2024·
Changes suggested by review comments.
1 parent b8975a1 commit 17510fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎app/pages/learn/01_tutorial/07_rich_client_apps/02_introduction-javafx-animation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ last_update: 2024-05-22
1414
---
1515

1616
The [javafx.animation](javafxdoc:AnimationPackageSummary) package offers a simple framework for creating animations and transitions in a JavaFX application.
17-
It operates on the principle of [`WritableValue\<T\>`](javafxdoc:WritableValue), which is used across JavaFX. `WritableValue<T>` is an interface that wraps a value that can be read and set.
17+
It operates on the principle of [`WritableValue<T>`](javafxdoc:WritableValue), which is used across JavaFX. `WritableValue<T>` is an interface that wraps a value that can be read and set.
1818
It is commonly used for storing properties in JavaFX UI elements, like `width` or `height` in the [`Rectangle`](javafxdoc:Rectangle) shape.
1919
It additionally provides a variety of built-in transitions for common effects, support for parallel and sequential transitions, and the ability to handle events upon animation completion.
2020
The article goes through all types of animations, starting with `Animation` and its subclasses `Transition` and `Timeline`, before representing a lower level animation with `AnimationTimer`.
@@ -23,7 +23,7 @@ In contrast, `AnimationTimer` is designed for frame-by-frame updates and does no
2323

2424
## Animation
2525

26-
The abstract class [`Animation`](javafxdoc:Animation) provides the core functionality for `Transition` and `Timeline` animations and can't be implemented directly.
26+
The abstract class [`Animation`](javafxdoc:Animation) provides the core functionality for `Transition` and `Timeline` animations and can't be extended directly.
2727

2828
An `Animation` consists of multiple properties:
2929
- The `targetFramerate` is the maximum framerate (frames per second) at which this `Animation` will run.
@@ -59,7 +59,7 @@ transition.setInterpolator(Interpolator.LINEAR);
5959

6060
transition.play();
6161
```
62-
(For a complete guide on setting up a JavaFX application, refer to this article: [JavaFX Application Basic Structure By Example](https://dev.java/learn/javafx/structure/))
62+
(For a complete guide on setting up a JavaFX application, refer to this article: [JavaFX Application Basic Structure By Example](id:javafx.fundamentals.structure))
6363

6464
### Fill Transition
6565
The [`FillTransition`](javafxdoc:FillTransition) creates an animation, that changes the filling of a shape.

0 commit comments

Comments
 (0)
Please sign in to comment.