Package javafx.scene.layout

Examples of javafx.scene.layout.AnchorPane


        this.pageLabel = LabelBuilder.create()
                .text(String.valueOf(getModel().getSlide().getPage()))
                .font(PrezFonts.PAGE.get())
                .build();

        final AnchorPane ap = AnchorPaneBuilder.create()
                .children(this.pageLabel)
                .build();
        AnchorPane.setRightAnchor(this.pageLabel, 20.0);

        final StackPane sp = StackPaneBuilder.create()
View Full Code Here


        /**
         * Carica il main tabbed ed avvia il sistema di caricamento plugin.
         */
        try {
            __center_pane = new AnchorPane();
            __center_pane.setPrefHeight(222.0);
            __center_pane.setId("def_back_pane");
            __border_center = new BorderPane();
            __border_center.setId("def_back_pane");
            __center_pane.getChildren().add(__border_center);
View Full Code Here

        /**
         * Carica il main tabbed ed avvia il sistema di caricamento plugin.
         */
        try {
            __center_pane = new AnchorPane();
            __center_pane.setPrefHeight(222.0);
            __center_pane.setId("def_back_pane");
            __border_center = new BorderPane();
            __border_center.setId("def_back_pane");
            __center_pane.getChildren().add(__border_center);
View Full Code Here

        /**
         * Carica il main tabbed ed avvia il sistema di caricamento plugin.
         */
        try {
            __center_pane = new AnchorPane();
            __center_pane.setPrefHeight(222.0);
            __center_pane.setId("def_back_pane");
            __border_center = new BorderPane();
            __border_center.setId("def_back_pane");
            __center_pane.getChildren().add(__border_center);
View Full Code Here

                "-fx-text-fill: #eaeaea;"+
                "-fx-background-color: #454545;"+
                "-fx-font-family: 'Monospaced';");
              textArea = area;
              //VBox vBox = new VBox();
              AnchorPane vBox = new AnchorPane();
              AnchorPane.setTopAnchor(textArea, 2.0);
              AnchorPane.setLeftAnchor(textArea, 2.0);
              AnchorPane.setRightAnchor(textArea, 2.0);
              AnchorPane.setBottomAnchor(textArea, 2.0);
              vBox.getChildren().add(area);
            return vBox;
        }
View Full Code Here

      public void start(Stage primaryStage) {
          try {
          ApplicationConfiguration appConfiguration = new DefaultApplicationConfiguration();
          Fxml layout = appConfiguration.getLayout();
          Parent rootPane = (Parent) FXMLLoader.load(layout.getFxmlUrl());
          AnchorPane anchor;
          TitledPane title = null;
          if (rootPane instanceof AnchorPane){
            anchor = (AnchorPane) rootPane;
          } else if (rootPane instanceof TitledPane){
            title = (TitledPane) rootPane;
View Full Code Here

            indicator.setPass(Boolean.FALSE);
        });
       
        HBox box = new HBox(passButton, indetermindedButton, failButton);
       
        AnchorPane root = new AnchorPane();
        AnchorPane.setTopAnchor(indicator, 10.0);
        AnchorPane.setTopAnchor(box, 230.0);
       
        root.getChildren().addAll(indicator, box);

        Scene scene = new Scene(root, 300, 250);

        primaryStage.setTitle("Indicator Demo");
        primaryStage.setScene(scene);
View Full Code Here

    searchController.showView((Stage) dialogStage.getOwner());
  }

  public void showView(Stage mainStage) {
    if (dialogStage == null) {
      AnchorPane root = (AnchorPane) TestApplication.loader.load("/login.fxml");
      dialogStage = new Stage();
      dialogStage.initOwner(mainStage);
      dialogStage.initModality(Modality.WINDOW_MODAL);
      Scene scene = new Scene(root);
      dialogStage.setScene(scene);
View Full Code Here

    public void init() {
        uiConfiguration = viewContext.getUiConfiguration();
        domainDataModel = viewContext.getDomainDataModel();
        modalDialog = viewContext.getModalDialog();

        rootPane = new AnchorPane();
        mainViewPane = new AnchorPane();

        AnchorPane.setTopAnchor(header.getView(), 0.0);
        AnchorPane.setRightAnchor(header.getView(), 0.0);
        AnchorPane.setLeftAnchor(header.getView(), 0.0);
View Full Code Here

            indicator.setPass(Boolean.FALSE);
        });
       
        HBox box = new HBox(passButton, failButton);
       
        AnchorPane root = new AnchorPane();
        AnchorPane.setTopAnchor(indicator, 10.0);
        AnchorPane.setTopAnchor(segmentedButton, 150.0);
        AnchorPane.setTopAnchor(box, 230.0);
       
        root.getChildren().addAll(indicator, segmentedButton, box);

        Scene scene = new Scene(root, 300, 250);

        primaryStage.setTitle("Indicator Demo");
        primaryStage.setScene(scene);
View Full Code Here

TOP

Related Classes of javafx.scene.layout.AnchorPane

Copyright © 2018 www.massapicom. 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.