HBox type (joe.win)


Extends: Pane

The HBox type is a Pane that manages a row of widgets. Joe classes can extend the HBox type.

Static Methods

Initializer

Methods

Pane Methods

Region Methods

Node Methods

Properties

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

PropertyTypeDescription
#alignmentPosThe default alignment for children
#spacingNumberThe spacing between children in pixels

Static Methods


HBox.getHgrow()


HBox.getHgrow(node) → Priority

Gets how the Node will resize itself to the height of its parent HBox.

HBox.getMargin()


HBox.getMargin(node) → Insets

Gets the Node's margin in its parent HBox.

HBox.setHgrow()


HBox.setHgrow(node, priority)

Sets how the Node will resize itself to the height of its parent HBox, given a Priority value.

HBox.setMargin()


HBox.setMargin(node, insets)

Gets the Node's margin in its parent HBox given an Insets object.

HBox Initializer


HBox() → HBox

Returns a HBox.

Methods


hBox.spacing()


hBox.spacing(pixels) → this

Sets the vertical space in pixels between each child.