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.
- StackPane.getAlignment(node) → Pos
- StackPane.getMargin(node) → Insets
- StackPane.setAlignment(node, pos)
- StackPane.setMargin(node, insets)
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
StackPane
widgets have the following properties, in addition to
those inherited from superclasses.
Property | Type | Description |
---|---|---|
#alignment | Pos | The 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
.