Module xaos.ui.plot

Class ChartLayoutAnimator

    • Constructor Detail

      • ChartLayoutAnimator

        public ChartLayoutAnimator​(Parent nodeToLayout)
    • Method Detail

      • animate

        public Object animate​(KeyFrame... keyFrames)
        Play an animation containing the given KeyFrames.
        Parameters:
        keyFrames - The KeyFrames to animate.
        Returns:
        An id reference to the animation that can be used to stop the animation if needed.
      • animate

        public Object animate​(Animation animation)
        Play the given Animation.
        Parameters:
        animation - The animation to play.
        Returns:
        An id reference to the animation that can be used to stop the animation if needed.
      • stop

        public void stop​(Object animationID)
        Stop the animation with the given ID.
        Parameters:
        animationID - The identifier of the animation to stop.