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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.