SplitPane type (joe.win)


Extends: Control

The SplitPane type manages one or more Node widgets with movable dividers between them.

Initializer

Methods

Control Methods

Region Methods

Node Methods

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.

PropertyTypeDescription
#orientationOrientationLayout 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