public class FlipAnimation extends CenterSwitchAnimation
imageView| Constructor and Description |
|---|
FlipAnimation() |
| Modifier and Type | Method and Description |
|---|---|
void |
animate(javafx.scene.layout.BorderPane pane,
javafx.scene.Node newNode,
java.lang.Runnable postAnimation)
Animate to the new node
|
protected javafx.animation.Animation |
createAndPrepareAnimation(javafx.scene.Node area,
javafx.scene.Node newNode)
Create an animation and prepare it for execution - but don't execute!
|
protected void |
resetProperties(javafx.scene.Node curNode,
javafx.scene.Node newNode)
Reset properties to their default after the animation has finished
|
public void animate(javafx.scene.layout.BorderPane pane,
javafx.scene.Node newNode,
java.lang.Runnable postAnimation)
CenterSwitchAnimationanimate in class CenterSwitchAnimationpane - the pane the animation is happening onnewNode - the new nodepostAnimation - runnable to run when finishedprotected javafx.animation.Animation createAndPrepareAnimation(javafx.scene.Node area,
javafx.scene.Node newNode)
CenterSwitchAnimationcreateAndPrepareAnimation in class CenterSwitchAnimationarea - the current node (node moved out!)newNode - the replacement node (node moved in)protected void resetProperties(javafx.scene.Node curNode,
javafx.scene.Node newNode)
CenterSwitchAnimationresetProperties in class CenterSwitchAnimationcurNode - the current node (node moved out!)newNode - the new node (node moved in)