2526272829303132333435
fadeIn.setNode(asciiDocController.getIndikator()); fadeIn.setFromValue(0.0); fadeIn.setToValue(1.0); fadeIn.setCycleCount(1); fadeIn.setAutoReverse(false); fadeIn.playFromStart(); }); } public void completeCycle() { Platform.runLater(() -> {
3839404142434445464748
fadeOut.setNode(asciiDocController.getIndikator()); fadeOut.setFromValue(1.0); fadeOut.setToValue(0.0); fadeOut.setCycleCount(1); fadeOut.setAutoReverse(false); fadeOut.playFromStart(); }); } public void hideIndikator() { Platform.runLater(() -> {
7980818283848586878889
KeyFrame[] kf = new KeyFrame[1]; eh = new EventHandler<ActionEvent>() { public void handle(ActionEvent ae) { fadeout.playFromStart(); } }; kf[0] = new KeyFrame(Duration.valueOf("4000ms"), eh); timeline.getKeyFrames().addAll(kf); }