Class SequentialAnimationFX


  • public class SequentialAnimationFX
    extends java.lang.Object
    • Constructor Detail

      • SequentialAnimationFX

        public SequentialAnimationFX​(javafx.scene.Node node)
      • SequentialAnimationFX

        public SequentialAnimationFX​(javafx.scene.Node node,
                                     AnimationFX... animations)
      • SequentialAnimationFX

        public SequentialAnimationFX​(AnimationFX... animations)
      • SequentialAnimationFX

        public SequentialAnimationFX()
    • Method Detail

      • nodeProperty

        public final javafx.beans.property.ObjectProperty<javafx.scene.Node> nodeProperty()
        The node property
        Returns:
        node property
      • getAnimation

        public final javafx.collections.ObservableList<AnimationFX> getAnimation()
        A list of Animations that will be played sequentially.

        It is not possible to change the animation of a running SequentialAnimationFX. If the animation are changed for a running SequentialAnimationFX, the animation has to be stopped and started again to pick up the new value.

      • setNode

        public void setNode​(javafx.scene.Node value)
        Set the node
        Parameters:
        value - the node
      • play

        public void play()
        Play the animations
      • stop

        public void stop()
        Stop the animations
      • getStatus

        public javafx.animation.Animation.Status getStatus()
        Get the status
        Returns:
        animations status
      • setResetOnFinished

        public void setResetOnFinished​(boolean value)
        Set if the node have to reset at the end
        Parameters:
        value - true to reset