Package javafx.scene.layout

Examples of javafx.scene.layout.RowConstraints


    // get helper values
    ColumnConstraints lColumnValue = new ColumnConstraints(valueHolderNode.getMinWidth(), valueHolderNode.getPrefWidth(), Double.MAX_VALUE);
    lColumnValue.setHgrow(Priority.ALWAYS);
   
    // get helper values
    RowConstraints lRowValue = new RowConstraints(valueHolderNode.getMinHeight(), valueHolderNode.getPrefHeight(), Double.MAX_VALUE);
    lRowValue.setVgrow(Priority.ALWAYS);

    // create the grid
    skinNode.getChildren().clear();
    skinNode.setCenter(valueHolderNode);
View Full Code Here


                    new ColumnConstraints(100, 100, Double.MAX_VALUE, Priority.ALWAYS, HPos.CENTER, true),
                    new ColumnConstraints(100,100,100, Priority.NEVER, HPos.RIGHT, true),
                    new ColumnConstraints(200,200,200, Priority.NEVER, HPos.RIGHT, true)
            );
            grid.getChildren().addAll(title1, vBox, locationField, goButton, title2, textVBox, view, vBoxRight, statusField);
            RowConstraints row1 = new RowConstraints();
            row2 = new RowConstraints();
            row3 = new RowConstraints();
            RowConstraints row4 = new RowConstraints();
            row1.setMaxHeight(30);
            row1.setMinHeight(30);
            row1.setVgrow(Priority.ALWAYS);
            vBox.setMinHeight(100);
            textVBox.setMaxHeight(0);
            row2.setMaxHeight(0);
            row3.setPrefHeight(USE_COMPUTED_SIZE);           
            //row3.setFillHeight(true);
            row3.setVgrow(Priority.SOMETIMES);
            row4.setMaxHeight(40);
            row4.setMinHeight(40);
            row4.setFillHeight(true);
            //grid.setGridLinesVisible(true);
            grid.getRowConstraints().addAll(row1,row2,row3, row4);
            getChildren().add(grid);
           
       
View Full Code Here

TOP

Related Classes of javafx.scene.layout.RowConstraints

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.