@Override protected void stopping() { super.stopping(); mark.setOpacity(getRate() == 1 ? 1 : 0); } }
@Override public void initAnimation(Node contentContainer, Node overlay) { overlay.setOpacity(0); contentContainer.setScaleX(0); contentContainer.setScaleY(0); }
public final void setContentNode(final Node content) { this.contentNodeProperty().set(content); content.setOpacity(0); }
@Override public void initAnimation(Node contentContainer, Node overlay) { overlay.setOpacity(0); contentContainer.setTranslateX(-(contentContainer.getLayoutX() + contentContainer.getLayoutBounds().getMaxX())); }
@Override public void initAnimation(Node contentContainer, Node overlay) { overlay.setOpacity(0); contentContainer.setTranslateX(contentContainer.getLayoutX() + contentContainer.getLayoutBounds().getMaxX()); }
@Override public void initAnimation(Node contentContainer, Node overlay) { overlay.setOpacity(0); contentContainer.setTranslateY(-(contentContainer.getLayoutY() + contentContainer.getLayoutBounds().getMaxY())); }
@Override public void initAnimation(Node contentContainer, Node overlay) { overlay.setOpacity(0); contentContainer.setTranslateY(contentContainer.getLayoutY() + contentContainer.getLayoutBounds().getMaxY()); }
notification.setOpacity(0); notification.setLayoutX(area.getWidth()); notification.setLayoutY(area.getHeight());
container.getChildren().get(0).setOpacity(0); container.setScaleX(1); container.setScaleY(1);
private double extractOpacity(Node node) { if (addedNodes.remove(node)) { node.setOpacity(0); return 1; } else if (removedNodes.remove(node)) { return 0; } return -1; }
@Override public void initAnimation(Node contentContainer, Node overlay) { overlay.setOpacity(0); contentContainer.setScaleX(0); contentContainer.setScaleY(0); }
@Override protected void stopping() { super.stopping(); mark.setOpacity(getRate() == 1 ? 1 : 0); } }
public PaginationV2Builder nextButtonNode(Node nextButtonNode) { if (nextButtonNode instanceof Polygon && withPolygonShading) { ((Polygon)nextButtonNode).setFill(Color.DARKGREEN); nextButtonNode.setOpacity(0.5); } this.nextButtonNode = new SimpleObjectProperty<>(this, "nextButtonNode", nextButtonNode); return this; }
/** * @param processedView */ private void setRight(Node processedView) { Platform.runLater(() -> { processedView.setOpacity(1); centerStackPane.getChildren().clear(); centerStackPane.getChildren().add(processedView); }); }
/** * @param processedView */ private void setCenter(Node processedView) { Platform.runLater(() -> { processedView.setOpacity(1); centerStackPane.getChildren().clear(); centerStackPane.getChildren().add(processedView); }); }
/** * @param processedView */ private void setRight(Node processedView) { Platform.runLater(() -> { processedView.setOpacity(1); rightStackPane.getChildren().clear(); rightStackPane.getChildren().add(processedView); }); }
@Override public void initAnimation(Node contentContainer, Node overlay) { overlay.setOpacity(0); contentContainer.setTranslateX(contentContainer.getLayoutX() + contentContainer.getLayoutBounds().getMaxX()); }
@Override public void initAnimation(Node contentContainer, Node overlay) { overlay.setOpacity(0); contentContainer.setTranslateX(-(contentContainer.getLayoutX() + contentContainer.getLayoutBounds().getMaxX())); }
@Override public void initAnimation(Node contentContainer, Node overlay) { overlay.setOpacity(0); contentContainer.setTranslateY(contentContainer.getLayoutY() + contentContainer.getLayoutBounds().getMaxY()); }
private void showFadeInAnimation(Duration fadeInDuration) { // Fade In Node skinNode = getSkin().getNode(); skinNode.setOpacity(0); FadeTransition fadeIn = new FadeTransition(fadeInDuration, skinNode); fadeIn.setFromValue(0); fadeIn.setToValue(1); fadeIn.play(); }