SplitPane
type (joe.win
)
Extends: Control
The SplitPane
type manages one or more Node
widgets with
movable dividers between them.
- splitPane.getDividers() → joe.List
- splitPane.horizontal() → this
- splitPane.item(item) → this
- splitPane.items() → joe.List
- splitPane.setDivider(index position) → this
- splitPane.setDividers(position,...) → this
- splitPane.vertical() → this
Control Methods
- control.tooltip(tooltip) → this
- control.tooltipText(text) → this
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
If there are N children, then there are N-1 dividers between them, indexed from 0 to N-2. The divider positions are fractions between 0.0 and 1.0.
Properties
SplitPane
widgets have the following properties, in addition to
those inherited from superclasses.
Property | Type | Description |
---|---|---|
#orientation | Orientation | Layout orientation |
SplitPane Initializer
SplitPane() → SplitPane
Returns a SplitPane
.
Methods
splitPane.getDividers()
splitPane.getDividers() → joe.List
Returns a list of the divider positions, which are fractions between 0.0 and 1.0.
splitPane.horizontal()
splitPane.horizontal() → this
Sets the orientation to horizontal
splitPane.item()
splitPane.item(item) → this
Adds a value to the widget's list of Node
widgets.
splitPane.items()
splitPane.items() → joe.List
Gets the list of the widget's items, which can be updated freely.
All items must be Node
widgets.
splitPane.setDivider()
splitPane.setDivider(index position) → this
Sets the value of divider with the given index to the given position.
splitPane.setDividers()
splitPane.setDividers(position,...) → this
Sets the value of all dividers to the given positions.
splitPane.vertical()
splitPane.vertical() → this
Sets the orientation to vertical