Package animatefx.util
Class ParallelAnimationFX
java.lang.Object
animatefx.util.ParallelAnimationFX
-
Property Summary
Properties -
Constructor Summary
ConstructorsConstructorDescriptionParallelAnimationFX(AnimationFX... animations) ParallelAnimationFX(Node node) ParallelAnimationFX(Node node, AnimationFX... animations) -
Method Summary
Modifier and TypeMethodDescriptionfinal ObservableList<AnimationFX>A list ofAnimationsthat will be played in parallel.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
-
ParallelAnimationFX
-
ParallelAnimationFX
-
ParallelAnimationFX
-
ParallelAnimationFX
public ParallelAnimationFX()
-
-
Method Details
-
nodeProperty
The node property- See Also:
-
getAnimation
A list ofAnimationsthat will be played in parallel.It is not possible to change the animation of a running
ParallelAnimationFX. If the animation are changed for a runningParallelAnimationFX, 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
-