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.
- VBox.getMargin(node) → Insets
- VBox.getVgrow(node) → Priority
- VBox.setMargin(node, insets)
- VBox.setVgrow(node, priority)
- vBox.spacing(pixels) → this
Pane Methods
- pane.child(node) → this
- pane.children() → joe.List
Region Methods
- region.height(height) → this
- region.padding(pixels) → this
- region.padding(top, right, bottom, left) → this
- region.prefHeight(height) → this
- region.prefWidth(width) → this
- region.width(width) → this
Node Methods
- node.disable([flag]) → this
- node.getProperty(keyword) → value
- node.gridColumn(index) → this
- node.gridColumnSpan(span) → this
- node.gridHalignment(hpos) → this
- node.gridHgrow([priority]) → this
- node.gridMargin(insets) → this
- node.gridRow(index) → this
- node.gridRowSpan(span) → this
- node.gridValignment(vpos) → this
- node.gridVgrow([priority]) → this
- node.hgrow([priority]) → this
- node.id(id) → this
- node.isDisabled() → joe.Boolean
- node.listenTo(keyword, listener) → this
- node.properties() → joe.Set
- node.setProperty(keyword, value) → this
- node.splitResizeWithParent(flag) → this
- node.styleClasses() → joe.List
- node.styles(style, ...) → this
- node.toString() → joe.String
- node.vgrow([priority]) → this
Properties
VBox
widgets have the following properties, in addition to
those inherited from superclasses.
Property | Type | Description |
---|---|---|
#alignment | Pos | The default alignment for children |
#spacing | Number | The 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.