Several JavaFX controls use animations to convey state changes, some of which 
are controllable by developers (for example: `TitledPane.animated` or 
`Chart.animated`). However, none of those controls respect the `reducedMotion` 
preference that was introduced with 
[JDK-8341514](https://bugs.openjdk.org/browse/JDK-8341514).

This enhancement changes the behavior of the following control skins to take 
the `Scene.Preferences.reducedMotion` preference into account when determining 
whether to animate a state change:

* `TableRowSkinBase`
* `TitledPaneSkin`
* `TabPaneSkin`
* `PaginationSkin`
* Charts

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - cleanup
 - cleanup
 - Animations should respect reducedMotion preference

Changes: https://git.openjdk.org/jfx/pull/2177/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2177&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8385459
  Stats: 473 lines in 19 files changed: 363 ins; 42 del; 68 mod
  Patch: https://git.openjdk.org/jfx/pull/2177.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/2177/head:pull/2177

PR: https://git.openjdk.org/jfx/pull/2177

Reply via email to