Interface Component.Transition

Enclosing class:
Component

public static interface Component.Transition
Functional interface for screen enter/exit transition animations. Implementations return a Animation that will be played on the component.
  • Method Summary

    Modifier and Type
    Method
    Description
    javafx.animation.Animation
    play(Component c, boolean entering)
    Creates the transition animation.
  • Method Details

    • play

      javafx.animation.Animation play(Component c, boolean entering)
      Creates the transition animation.
      Parameters:
      c - the component to animate
      entering - true if the component is entering, false if exiting
      Returns:
      the animation to play