Package animatefx.util
Class SequentialAnimationFX
java.lang.Object
animatefx.util.SequentialAnimationFX
-
Property Summary
Properties -
Constructor Summary
ConstructorsConstructorDescriptionSequentialAnimationFX(AnimationFX... animations) SequentialAnimationFX(Node node) SequentialAnimationFX(Node node, AnimationFX... animations) -
Method Summary
Modifier and TypeMethodDescriptionfinal ObservableList<AnimationFX>A list ofAnimationsthat will be played sequentially.Get the statusfinal ObjectProperty<Node>The node propertyvoidplay()Play the animationsvoidSet the nodevoidsetResetOnFinished(boolean value) Set if the node have to reset at the endvoidstop()Stop the animations
-
Property Details
-
node
The node property- See Also:
-
-
Constructor Details
-
SequentialAnimationFX
-
SequentialAnimationFX
-
SequentialAnimationFX
-
SequentialAnimationFX
public SequentialAnimationFX()
-
-
Method Details
-
nodeProperty
The node property- See Also:
-
getAnimation
A list ofAnimationsthat will be played sequentially.It is not possible to change the animation of a running
SequentialAnimationFX. If the animation are changed for a runningSequentialAnimationFX, the animation has to be stopped and started again to pick up the new value. -
setNode
Set the node- Parameters:
value- the node
-
play
public void play()Play the animations -
stop
public void stop()Stop the animations -
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
-