StackPane type (joe.win)


Extends: Pane

The StackPane 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 StackPane type.

Static Methods

Initializer

Pane Methods

Region Methods

Node Methods

Properties

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

PropertyTypeDescription
#alignmentPosThe default alignment for children

Static Methods


StackPane.getAlignment()


StackPane.getAlignment(node) → Pos

Gets the Node's alignment in its parent StackPane.

StackPane.getMargin()


StackPane.getMargin(node) → Insets

Gets the Node's margin in its parent StackPane.

StackPane.setAlignment()


StackPane.setAlignment(node, pos)

Sets how Node node will position itself within its parent StackPane, given a Pos value.

StackPane.setMargin()


StackPane.setMargin(node, insets)

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

StackPane Initializer


StackPane() → StackPane

Returns a StackPane.