VBox type (joe.win)


Extends: Pane

The VBox type is a Pane that manages a column of widgets. Joe classes can extend the VBox type.

Static Methods

Initializer

Methods

Pane Methods

Region Methods

Node Methods

Properties

VBox 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


VBox.getMargin()


VBox.getMargin(node) → Insets

Gets the Node's margin in its parent VBox.

VBox.getVgrow()


VBox.getVgrow(node) → Priority

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

VBox.setMargin()


VBox.setMargin(node, insets)

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

VBox.setVgrow()


VBox.setVgrow(node, priority)

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

VBox Initializer


VBox() → VBox

Returns a VBox.

Methods


vBox.spacing()


vBox.spacing(pixels) → this

Sets the vertical space in pixels between each child.