GridPane type (joe.win)


Extends: Pane

The GridPane type is a Pane that manages one or children stacked one on top of each other like cards in a deck. Joe classes can extend the GridPane type.

Initializer

Methods

Pane Methods

Region Methods

Node Methods

Properties

GridPane widgets have the following properties, in addition to those inherited from superclasses.

PropertyTypeDescription
#alignmentPosAlignment of the grid within the widget.
#gridLinesVisibleBooleanWhether to draw grid lines for debugging.
#hgapNumberGap between columns in pixels.
#vgapNumberGap between rows in pixels.

GridPane Initializer


GridPane() → GridPane

Returns a GridPane.

Methods


gridPane.at()


gridPane.at(column, row, [columnSpan, rowSpan], node) → this

Adds the node to the grid pane at the given column and row with the given spans. If omitted, the spans default to 1.

gridPane.hgap()


gridPane.hgap(pixels) → this

Sets the gap between columns to the given number of pixels.

gridPane.vgap()


gridPane.vgap(pixels) → this

Sets the gap between rows to the given number of pixels.