super(
node,
TimelineBuilder.create()
.keyFrames(
new KeyFrame(Duration.millis(0),
new KeyValue(node.rotateProperty(), 0, Interpolator.EASE_OUT),
new KeyValue(node.translateZProperty(), 0, Interpolator.EASE_OUT)
),
new KeyFrame(Duration.millis(400),
new KeyValue(node.translateZProperty(), -150, Interpolator.EASE_OUT),
new KeyValue(node.rotateProperty(), -170, Interpolator.EASE_OUT)
),
new KeyFrame(Duration.millis(500),
new KeyValue(node.translateZProperty(), -150, Interpolator.EASE_IN),
new KeyValue(node.rotateProperty(), -190, Interpolator.EASE_IN),
new KeyValue(node.scaleXProperty(), 1, Interpolator.EASE_IN),
new KeyValue(node.scaleYProperty(), 1, Interpolator.EASE_IN)
),
new KeyFrame(Duration.millis(800),
new KeyValue(node.translateZProperty(), 0, Interpolator.EASE_IN),
new KeyValue(node.rotateProperty(), -360, Interpolator.EASE_IN),
new KeyValue(node.scaleXProperty(), 0.95, Interpolator.EASE_IN),
new KeyValue(node.scaleYProperty(), 0.95, Interpolator.EASE_IN)
),
new KeyFrame(Duration.millis(1000),
new KeyValue(node.scaleXProperty(), 1, Interpolator.EASE_IN),
new KeyValue(node.scaleYProperty(), 1, Interpolator.EASE_IN)
)
)
.build()
);
this.node = node;