Package javafx.scene.layout

Examples of javafx.scene.layout.Pane


                scene.getStylesheets().add(Disclaimer.class.getResource("/resources/css/main.css").toExternalForm());
                stage.setScene(scene);
                stage.setResizable(false);
                stage.setTitle(Constants.TITLE);

                Pane scroll_disc = (Pane) Utility.getFromCacheNode("area_pane");
                TextArea area = new TextArea(Utility.getTextFromResource("/resources/license/DISCLAIMER.TXT"));
                area.setId("disclaimer_area_txt");
                area.setEditable(false);
                scroll_disc.getChildren().add(area);
                area.setPrefWidth(544.0);
                area.setMinWidth(544.0);
                area.setPrefHeight(360.0);
                area.setMinHeight(360.0);
View Full Code Here


            tab_border_pane.setCenter(__table);

            tab_lbl_tot = (Label) UtilityFX.getFromCacheNode("tab_lbl_tot");
            tab_lbl_tot.setId("ge_label_yellow");

            Pane tab_acc_table_bot = (Pane) UtilityFX.getFromCacheNode("tab_acc_table_bot");
            tab_acc_table_bot.setId("back_gray_def");

            setLblNumAccount(data_table.size());

            __table.setOnMouseClicked((mouseEvent) -> {
View Full Code Here

            tab_border_pane.setCenter(__table);

            tab_lbl_tot = (Label) UtilityFX.getFromCacheNode("tab_lbl_tot");
            tab_lbl_tot.setId("ge_label_yellow");

            Pane tab_acc_table_bot = (Pane) UtilityFX.getFromCacheNode("tab_acc_table_bot");
            tab_acc_table_bot.setId("back_gray_def");

            setLblNumAccount(data_table.size());

            __table.setOnMouseClicked((mouseEvent) -> {
View Full Code Here

         @Override
         public ListCell<Image> call(ListView<Image> p) {
         return new ComboListCell();
         }
         });*/
        pane = new Pane();
        hbox_pwd = new HBox();
        hbox_pwd.setPadding(new Insets(0, 0, 0, 0));
        hbox_pwd.setSpacing(1);
        prog_pwd = new ProgressBar();
        prog_pwd.setProgress(0.0);
View Full Code Here

                scene.getStylesheets().add(Disclaimer.class.getResource("/resources/css/main.css").toExternalForm());
                stage.setScene(scene);
                stage.setResizable(false);
                stage.setTitle(Constants.TITLE);

                Pane scroll_disc = (Pane) UtilityFX.getFromCacheNode("area_pane");
                TextArea area = new TextArea(UtilityFX.getTextFromResource("/resources/license/DISCLAIMER.TXT"));
                area.setId("disclaimer_area_txt");
                area.setEditable(false);
                scroll_disc.getChildren().add(area);
                area.setPrefWidth(544.0);
                area.setMinWidth(544.0);
                area.setPrefHeight(360.0);
                area.setMinHeight(360.0);
View Full Code Here

         @Override
         public ListCell<Image> call(ListView<Image> p) {
         return new ComboListCell();
         }
         });*/
        pane = new Pane();
        hbox_pwd = new HBox();
        hbox_pwd.setPadding(new Insets(0, 0, 0, 0));
        hbox_pwd.setSpacing(1);
        prog_pwd = new ProgressBar();
        prog_pwd.setProgress(0.0);
View Full Code Here

        border_pane.setLayoutY((node.getLayoutBounds().getHeight() / 2) - (border_pane.getPrefHeight() / 2));
    }

    public void blurShow() {
        if (node instanceof Pane) {
            Pane pane = (Pane) node;
            ObservableList<Node> list = pane.getChildren();
            if (list != null) {
                list.stream().filter((n) -> (n != null)).map((n) -> {
                    n.setMouseTransparent(true);
                    return n;
                }).forEach((n) -> {
                    EffectFX.blurEffect(n);
                });
            }

            BorderPane bp = getMainBorderPane();
            pane.getChildren().add(bp);
            bp.requestFocus();

        }
    }
View Full Code Here

        }
    }

    public void dispose() {
        if (node instanceof Pane) {
            Pane pane = (Pane) node;
            ObservableList<Node> list = pane.getChildren();
            if (list != null) {
                list.stream().filter((n) -> (n != null)).map((n) -> {
                    n.setMouseTransparent(false);
                    return n;
                }).forEach((n) -> {
                    EffectFX.clearBlurEffect(n);
                });
            }

            pane.getChildren().remove(getMainBorderPane());
            pane.requestFocus();
        }
    }
View Full Code Here

* @see javafx.scene.web.WebEngine
*/
public class WebViewBrowser extends Application {
    @Override public void start(Stage primaryStage) throws Exception {
        Pane root = new WebViewPane();
        Scene scene = new Scene(root, 1280, 900);
           scene.setOnDragOver(new EventHandler<DragEvent>() {
                 @Override
                 public void handle(DragEvent event) {
                     Dragboard db = event.getDragboard();
View Full Code Here

        border_pane.setLayoutY((node.getLayoutBounds().getHeight() / 2) - (border_pane.getPrefHeight() / 2));
    }

    public void blurShow() {
        if (node instanceof Pane) {
            Pane pane = (Pane) node;
            ObservableList<Node> list = pane.getChildren();
            if (list != null) {
                list.stream().filter((n) -> (n != null)).map((n) -> {
                    n.setMouseTransparent(true);
                    return n;
                }).forEach((n) -> {
                    EffectFX.blurEffect(n);
                });
            }

            BorderPane bp = getMainBorderPane();
            pane.getChildren().add(bp);
            bp.requestFocus();

        }
    }
View Full Code Here

TOP

Related Classes of javafx.scene.layout.Pane

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.