CHAPTER 3

Effect: Visual Transitions

Visual transitions are animations that introduce a new visual component to the scene, usually by replacing a component already in the scene. A good example of a visual transition is a fade-out on TV-it is a visual effect that informs the viewer that something is ending and something new has started.

Application designers take advantage of visual transitions to inform the user that new content is on the screen, perhaps because of a navigation choice made by the user. This chapter explores how visual transitions are implemented in JavaFX by setting up a scene where the transitions can be viewed and the details of each transition inspected.

While this book uses the term “transition” to describe a change in an ...

Get JavaFX™ Special Effects: Taking Java™ RIA to the Extreme with Animation, Multimedia, and Game Elements now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.