| Constructor and Description |
|---|
Animation(animatefx.animation.AnimationFX animationFX) |
| Modifier and Type | Method and Description |
|---|---|
animatefx.animation.AnimationFX |
getAnimationFX() |
int |
getCycleCount() |
javafx.util.Duration |
getDelay() |
double |
getSpeed() |
javafx.animation.Animation.Status |
getStatus() |
boolean |
isPlaying() |
void |
playIn(javafx.scene.Node target,
javafx.collections.ObservableList<javafx.scene.Node> children)
Plays the animation while adding the target node to children
|
void |
playOut(javafx.scene.Node target,
javafx.collections.ObservableList<javafx.scene.Node> children)
Plays the animation before removing the target node from children
|
Animation |
setCycleCount(int cycleCount) |
Animation |
setDelay(javafx.util.Duration delay) |
Animation |
setSpeed(double speed) |
public void playIn(javafx.scene.Node target,
javafx.collections.ObservableList<javafx.scene.Node> children)
target - node to animatechildren - observable list to add the node to (if not null)public void playOut(javafx.scene.Node target,
javafx.collections.ObservableList<javafx.scene.Node> children)
target - node to animatechildren - observable list to remove the node from (if not null)public javafx.animation.Animation.Status getStatus()
public boolean isPlaying()
public animatefx.animation.AnimationFX getAnimationFX()
public double getSpeed()
public Animation setSpeed(double speed)
speed - speed multiplier to setpublic javafx.util.Duration getDelay()
public Animation setDelay(javafx.util.Duration delay)
delay - delay to setpublic int getCycleCount()
public Animation setCycleCount(int cycleCount)
cycleCount - cycles count to setCopyright © 2022. All rights reserved.