TabPane
type (joe.win
)
Extends: Control
The TabPane
type is the base class for JavaFX tab panes, which can
contain Tab
objects.
- tabPane.tab(tab) → this
- tabPane.tabs() → joe.List
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
Properties
TabPane
widgets have the following properties, in addition to
those inherited from superclasses.
Property | Type | Description |
---|---|---|
#side | Side | The position for the tabs. |
TabPane Initializer
TabPane([text]) → TabPane
Returns a TabPane
.
Methods
tabPane.tab()
tabPane.tab(tab) → this
Adds a Tab
to the pane.
tabPane.tabs()
tabPane.tabs() → joe.List
Gets the list of the pane's tabs, which can be updated freely.
All items must be instances of Tab
or a subclass.