GridPane

object GridPane
Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def clearConstraints(child: Node): Unit

Removes all gridpane constraints from the child node.

Removes all gridpane constraints from the child node.

def getColumnIndex(child: Node): Integer

Returns the child's column index constraint if set.

Returns the child's column index constraint if set.

def getColumnSpan(child: Node): Integer

Returns the child's column-span constraint if set.

Returns the child's column-span constraint if set.

def getHalignment(child: Node): HPos

Returns the child's halignment constraint if set.

Returns the child's halignment constraint if set.

def getHgrow(child: Node): Priority

Returns the child's hgrow constraint if set.

Returns the child's hgrow constraint if set.

def getMargin(child: Node): Insets

Returns the child's margin constraint if set.

Returns the child's margin constraint if set.

def getRowIndex(child: Node): Integer

Returns the child's row index constraint if set.

Returns the child's row index constraint if set.

def getRowSpan(child: Node): Integer

Returns the child's row-span constraint if set.

Returns the child's row-span constraint if set.

def getValignment(child: Node): VPos

Returns the child's valignment constraint if set.

Returns the child's valignment constraint if set.

def getVgrow(child: Node): Priority

Returns the child's vgrow constraint if set.

Returns the child's vgrow constraint if set.

def setColumnIndex(child: Node, value: Int): Unit

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.

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.

def setColumnSpan(child: Node, value: Int): Unit

Sets the column span for the child when contained by a gridpane so that it will span that number of columns horizontally.

Sets the column span for the child when contained by a gridpane so that it will span that number of columns horizontally.

def setConstraints(child: Node, columnIndex: Int, rowIndex: Int): Unit

Sets the column,row indices for the child when contained in a gridpane.

Sets the column,row indices for the child when contained in a gridpane.

def setConstraints(child: Node, columnIndex: Int, rowIndex: Int, columnspan: Int, rowspan: Int): Unit

Sets the column, row, column-span, and row-span value for the child when contained in a gridpane.

Sets the column, row, column-span, and row-span value for the child when contained in a gridpane.

def setConstraints(child: Node, columnIndex: Int, rowIndex: Int, columnspan: Int, rowspan: Int, halignment: HPos, valignment: VPos): Unit

Sets the grid position, spans, and alignment for the child when contained in a gridpane.

Sets the grid position, spans, and alignment for the child when contained in a gridpane.

def setConstraints(child: Node, columnIndex: Int, rowIndex: Int, columnspan: Int, rowspan: Int, halignment: HPos, valignment: VPos, hgrow: Priority, vgrow: Priority): Unit

Sets the grid position, spans, and alignment for the child when contained in a gridpane.

Sets the grid position, spans, and alignment for the child when contained in a gridpane.

def setConstraints(child: Node, columnIndex: Int, rowIndex: Int, columnspan: Int, rowspan: Int, halignment: HPos, valignment: VPos, hgrow: Priority, vgrow: Priority, margin: Insets): Unit

Sets the grid position, spans, alignment, grow priorities, and margin for the child when contained in a gridpane.

Sets the grid position, spans, alignment, grow priorities, and margin for the child when contained in a gridpane.

def setHalignment(node: Node, hp: HPos): Unit

Sets the horizontal alignment for the child when contained by a GridPane.

Sets the horizontal alignment for the child when contained by a GridPane.

def setHgrow(child: Node, value: Priority): Unit

Sets the value of the property hgap.

Sets the value of the property hgap.

def setMargin(child: Node, value: Insets): Unit

Sets the margin for the child when contained by a gridpane.

Sets the margin for the child when contained by a gridpane.

def setRowIndex(child: Node, value: Int): Unit

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.

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.

def setRowSpan(child: Node, value: Int): Unit

Sets the row span for the child when contained by a gridpane so that it will span that number of rows vertically.

Sets the row span for the child when contained by a gridpane so that it will span that number of rows vertically.

def setValignment(node: Node, vp: VPos): Unit

Sets the vertical alignment for the child when contained by a gridpane.

Sets the vertical alignment for the child when contained by a gridpane.

def setVgrow(child: Node, value: Priority): Unit

Sets the vertical grow priority for the child when contained by a gridpane.

Sets the vertical grow priority for the child when contained by a gridpane.

Concrete fields

val Remaining: Int

Sentinel value which may be set on a child's row/column span constraint to indicate that it should span the remaining rows/columns.

Sentinel value which may be set on a child's row/column span constraint to indicate that it should span the remaining rows/columns.

Deprecated fields

@deprecated("Use Remaining; REMAINING will be removed in a future release", "8.0.60-R10")
val REMAINING: Int
Deprecated

Implicits

Implicits

implicit def sfxGridPane2jfx(v: GridPane): GridPane