Examples of visibleProperty()


Examples of de.jensd.fx.fontawesome.Icon.visibleProperty()

                } else {
                    setStyle("");
                    setText(item == null ? "Latest version" : item.getDescription(0).getOneLiner());
                    Icon icon = Icon.create().icon(AwesomeIcon.THUMB_TACK);
                    icon.setStyle("-fx-font-family: FontAwesome; -fx-font-size: 1.5em");
                    icon.visibleProperty().bind(currentPin.isEqualTo(item != null ? item.getVersion() : 0));
                    setGraphic(icon);
                    // Bold the current version that's running, or latest if we're up to date.
                    if ((item == null && Main.VERSION == summary.newVersion) ||
                            (item != null && item.getVersion() == Main.VERSION && item.getVersion() != summary.newVersion))
                        setStyle("-fx-font-weight: bold");
View Full Code Here

Examples of javafx.scene.layout.HBox.visibleProperty()

        anchorPane.getChildren().addAll(appNameLabel, versionLabel, statusLabel, applicationActionMenuButton,
                statusIndicator, progressIndicator, updateBox);

        progressBar.progressProperty().bind(updateAppService.progressProperty());
        updateStatusLabel.textProperty().bind(updateAppService.messageProperty());
        updateBox.visibleProperty().bind(updateAppService.runningProperty());
        applicationActionMenuButton.visibleProperty().bind(updateAppService.runningProperty().not());
        applicationActionMenuButton.disableProperty().bind(domainDataModel.domainRunningProperty().not());
        statusLabel.visibleProperty().bind(updateAppService.runningProperty().not());
        versionLabel.visibleProperty().bind(updateAppService.runningProperty().not());
    }
View Full Code Here

Examples of javafx.scene.shape.Line.visibleProperty()

    hL.setStartX(0);
    hL.setStartY(0);
    hL.setEndY(0);
    hL.getStyleClass().add("magnifier-hLine");
    hL.strokeWidthProperty().bind(scopeLineWidthProperty);
    hL.visibleProperty().bind(scopeLinesVisibleProperty);
    hL.endXProperty().bind(localRadius.multiply(2));

    // Adding all parts in a container.
    mainContent.getChildren().addAll(frame, viewer, vL, hL);
View Full Code Here

Examples of javafx.scene.shape.Line.visibleProperty()

    vL.setStartX(0);
    vL.setStartY(0);
    vL.setEndX(0);
    vL.getStyleClass().add("magnifier-vLine");
    vL.strokeWidthProperty().bind(scopeLineWidthProperty);
    vL.visibleProperty().bind(scopeLinesVisibleProperty);
    vL.endYProperty().bind(localRadius.multiply(2));

    final Line hL = new Line();
    hL.setStartX(0);
    hL.setStartY(0);
View Full Code Here

Examples of javafx.scene.shape.Path.visibleProperty()

          Path caretPath = new Path();
          caretPath.setManaged(false);
          caretPath.setStrokeWidth(1);
              caretPath.setFill((Color.BLACK));
              caretPath.setStroke((Color.BLACK));
              caretPath.visibleProperty().bind(caretVisible);
          stack = new RegionImpl(flow,caretPath);
          setGraphic(stack);
        } else {
          flow = (TextFlow) stack.getChildren().get(0);
        }
View Full Code Here

Examples of javafx.scene.shape.Rectangle.visibleProperty()

        Rectangle backgroundRect = RectangleBuilder.create()
                .id("slide-background")
                .width(WIDTH)
                .height(HEIGHT)
                .build();
        backgroundRect.visibleProperty().bind(CONTROL.backgroundVisibleProperty());

        Rectangle slideArea = RectangleBuilder.create()
                .id("slide-area")
                .x(0.0612476117 * WIDTH)
                .y(0.2463297872 * HEIGHT)
 
View Full Code Here

Examples of javafx.scene.shape.Rectangle.visibleProperty()

                .fill(Color.WHITE)
                .width(WIDTH)
                .height(0.5 * HEIGHT)
                .opacity(0.0627451)
                .build();
        topGlareRect.visibleProperty().bind(CONTROL.backgroundVisibleProperty());
        getChildren().clear();
        getChildren().addAll(backgroundRect, slideArea, glareRect, text, button, topGlareRect);
    }

    private void drawSlideButton() {
View Full Code Here

Examples of javafx.scene.shape.SVGPath.visibleProperty()

                .opacity(.274)
                .transforms(SCALE)
                .content("m 0,0 0,94 32,0 0,-27.218747 C 30.998808,55.222973 37.761737,45.9354 46.156457,45.93665 l 431.687503,0.06427 c 8.39472,0.0013 15.15487,9.290837 15.15315,20.814756 l -0.004,27.218754 30.28125,0 0,-94.0000031 L 0,0 z")
                .id("glare-frame")
                .build();
        glareRect.visibleProperty().bind(CONTROL.backgroundVisibleProperty());

        text.setText(CONTROL.getText());
        text.setId("slide-text");
        text.getTransforms().clear();
        text.getTransforms().add(SCALE);
View Full Code Here

Examples of javafx.scene.shape.SVGPath.visibleProperty()

                        .build()
                )
                .id("#button-arrow-glare-rect")
                .transforms(scale)
                .build();
        glareRect.visibleProperty().bind(CONTROL.buttonGlareVisibleProperty()); // red button
        button.getChildren().add(glareRect);
        button.setCache(true);
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.