new KeyValue(rightLine.visibleProperty(), true, Interpolator.EASE_BOTH), new KeyValue(leftLine.visibleProperty(), true, Interpolator.EASE_BOTH), new KeyValue(rightLine.endXProperty(), (boxWidth + padding - labelOffset) / 2 - boxWidth / 5.5, Interpolator.EASE_BOTH), maxHeight - padding - 2 * lineThick, Interpolator.EASE_BOTH), new KeyValue(leftLine.endXProperty(), (boxWidth + padding - labelOffset) / 2 - boxWidth / 5.5, Interpolator.EASE_BOTH), new KeyFrame( Duration.millis(800), new KeyValue(rightLine.endXProperty(), boxWidth - padding - labelOffset + lineThick / 2, Interpolator.EASE_BOTH), new KeyValue(rightLine.endYProperty(), (maxHeight - padding) / 2.4, Interpolator.EASE_BOTH), new KeyValue(leftLine.endXProperty(), padding + lineThick / 4, Interpolator.EASE_BOTH), new KeyValue(leftLine.endYProperty(), (maxHeight - padding) / 1.4, Interpolator.EASE_BOTH)
lineInput.setCache(true); lineInput.startXProperty().set(getAnimationPaneWidth() / 2 - getAnimationPaneWidth() / 8); lineInput.endXProperty().set(lineInput.startXProperty().get()); lineInput.startYProperty().set(0); lineInput.endYProperty().bind(animationPane.heightProperty()); lineOutput.setCache(true); lineOutput.startXProperty().set(getAnimationPaneWidth() / 2 + getAnimationPaneWidth() / 8); lineOutput.endXProperty().set(lineOutput.startXProperty().get()); lineOutput.startYProperty().set(0); lineOutput.endYProperty().bind(animationPane.heightProperty());
new KeyValue(rightLine.visibleProperty(), true, Interpolator.EASE_BOTH), new KeyValue(leftLine.visibleProperty(), true, Interpolator.EASE_BOTH), new KeyValue(rightLine.endXProperty(), (boxWidth + padding - labelOffset) / 2 - boxWidth / 5.5, Interpolator.EASE_BOTH), maxHeight - padding - 2 * lineThick, Interpolator.EASE_BOTH), new KeyValue(leftLine.endXProperty(), (boxWidth + padding - labelOffset) / 2 - boxWidth / 5.5, Interpolator.EASE_BOTH), new KeyFrame( Duration.millis(800), new KeyValue(rightLine.endXProperty(), boxWidth - padding - labelOffset + lineThick / 2, Interpolator.EASE_BOTH), new KeyValue(rightLine.endYProperty(), (maxHeight - padding) / 2.4, Interpolator.EASE_BOTH), new KeyValue(leftLine.endXProperty(), padding + lineThick / 4, Interpolator.EASE_BOTH), new KeyValue(leftLine.endYProperty(), (maxHeight - padding) / 1.4, Interpolator.EASE_BOTH)