clip.heightProperty().bind(((Region) node).heightProperty()); node.setClip(clip); this.getChildren().addAll(buttonsContainer, contentPlaceHolder);
Interpolator.EASE_BOTH))); windowDecoratorAnimation.setOnFinished((finish) -> { this.getChildren().remove(buttonsContainer); this.setTranslateY(0); }); windowDecoratorAnimation.stop(); } else { this.getChildren().add(0, buttonsContainer);
clip.heightProperty().bind(((Region) node).heightProperty()); node.setClip(clip); this.getChildren().addAll(buttonsContainer, contentPlaceHolder);
Interpolator.EASE_BOTH))); windowDecoratorAnimation.setOnFinished((finish) -> { this.getChildren().remove(buttonsContainer); this.setTranslateY(0); }); windowDecoratorAnimation.stop(); } else { this.getChildren().add(0, buttonsContainer);