Example usage for Java javafx.scene.layout GridPane fields, constructors, methods, implement or subclass
The text is from its open source code.
int | REMAINING Sentinel value which may be set on a child's row/column span constraint to indicate that it should span the remaining rows/columns. |
GridPane() Creates a GridPane layout with hgap/vgap = 0 and TOP_LEFT alignment. |
void | add(Node child, int columnIndex, int rowIndex) Adds a child to the gridpane at the specified column,row position. |
void | add(Node child, int columnIndex, int rowIndex, int colspan, int rowspan) Adds a child to the gridpane at the specified column,row position and spans. |
ObservableList | getChildren() |
ObservableList | getColumnConstraints() Returns list of column constraints. |
Integer | getColumnIndex(Node child) Returns the child's column index constraint if set. |
ObservableList | getRowConstraints() Returns list of row constraints. |
Integer | getRowIndex(Node child) Returns the child's row index constraint if set. |
ObservableList | getStyleClass() |
void | setAlignment(Pos value) |
void | setColumnIndex(Node child, Integer value) Sets the column index for the child when contained by a gridpane so that it will be positioned starting in that column of the gridpane. |
void | setColumnSpan(Node child, Integer value) Sets the column span for the child when contained by a gridpane so that it will span that number of columns horizontally. |
void | setConstraints(Node child, int columnIndex, int rowIndex) Sets the column,row indeces for the child when contained in a gridpane. |
void | setConstraints(Node child, int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment) Sets the grid position, spans, and alignment for the child when contained in a gridpane. |
void | setFillWidth(Node child, Boolean value) Sets the horizontal fill policy for the child when contained by a gridpane. |
void | setHalignment(Node child, HPos value) Sets the horizontal alignment for the child when contained by a gridpane. |
void | setHgap(double value) |
void | setHgrow(Node child, Priority value) Sets the horizontal grow priority for the child when contained by a gridpane. |
void | setMargin(Node child, Insets value) Sets the margin for the child when contained by a gridpane. |
void | setMaxWidth(double value) |
void | setPadding(Insets value) |
void | setPrefHeight(double value) |
void | setPrefWidth(double value) |
void | setRowIndex(Node child, Integer value) Sets the row index for the child when contained by a gridpane so that it will be positioned starting in that row of the gridpane. |
void | setStyle(String value) A string representation of the CSS style associated with this specific Node . |
void | setValignment(Node child, VPos value) Sets the vertical alignment for the child when contained by a gridpane. |
void | setVgap(double value) |
void | setVgrow(Node child, Priority value) Sets the vertical grow priority for the child when contained by a gridpane. |
DoubleProperty | vgapProperty() The height of the vertical gaps between rows. |