@Override protected void starting() {
double startY = node.getScene().getHeight() - node.localToScene(0, 0).getY();
timeline = TimelineBuilder.create()
.keyFrames(
new KeyFrame(Duration.millis(0),
new KeyValue(node.opacityProperty(), 0, WEB_EASE),
new KeyValue(node.translateYProperty(), startY, WEB_EASE)
),
new KeyFrame(Duration.millis(600),
new KeyValue(node.opacityProperty(), 1, WEB_EASE),
new KeyValue(node.translateYProperty(), -30, WEB_EASE)
),
new KeyFrame(Duration.millis(800),
new KeyValue(node.translateYProperty(), 10, WEB_EASE)
),
new KeyFrame(Duration.millis(1000),
new KeyValue(node.translateYProperty(), 0, WEB_EASE)
)
)
.build();
super.starting();