- All Implemented Interfaces:
- Styleable,- EventTarget,- Skinnable
Tabs.  Only one tab
 is visible at a time. Tabs are added to the TabPane by using the getTabs().
 Tabs in a TabPane can be positioned at any of the four sides by specifying the
 Side. 
A TabPane has two modes floating or recessed. Applying the styleclass STYLE_CLASS_FLOATING will change the TabPane mode to floating.
The tabs width and height can be set to a specific size by setting the min and max for height and width. TabPane default width will be determined by the largest content width in the TabPane. This is the same for the height. If a different size is desired the width and height of the TabPane can be overridden by setting the min, pref and max size.
When the number of tabs do not fit the TabPane a menu button will appear on the right. The menu button is used to select the tabs that are currently not visible.
Example:
 TabPane tabPane = new TabPane();
 Tab tab = new Tab();
 tab.setText("new tab");
 tab.setContent(new Rectangle(100, 50, Color.LIGHTSTEELBLUE));
 tabPane.getTabs().add(tab);
- Since:
- JavaFX 2.0
- See Also:
- 
Property SummaryPropertiesTypePropertyDescriptionfinal BooleanPropertySpecifies whether the graphic inside aTabis rotated or not, such that it is always upright, or rotated in the same way as theTabtext is.final ObjectProperty<SingleSelectionModel<Tab>>The selection model used for selecting tabs.final ObjectProperty<Side>The position to place the tabs in thisTabPane.Specifies how theTabPanehandles tab closing from an end-user's perspective.The drag policy for the tabs.final DoublePropertyThe maximum height of aTabin theTabPane.final DoublePropertyThe maximum width of aTabin theTabPane.final DoublePropertyThe minimum height of aTabin theTabPane.final DoublePropertyThe minimum width of aTabin theTabPane.Properties declared in class javafx.scene.control.ControlcontextMenu, skin, tooltipProperties declared in class javafx.scene.layout.Regionbackground, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, widthProperties declared in class javafx.scene.ParentneedsLayoutProperties declared in class javafx.scene.NodeaccessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, hover, id, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, viewOrder, visible
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumSpecifies how theTabPanehandles tab closing from an end-user's perspective.static enumThis enum specifies drag policies for tabs in a TabPane.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringTabPane mode will be changed to floating allowing the TabPane to be placed alongside other control.Fields declared in class javafx.scene.layout.RegionUSE_COMPUTED_SIZE, USE_PREF_SIZEFields declared in class javafx.scene.NodeBASELINE_OFFSET_SAME_AS_HEIGHT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic List<CssMetaData<? extends Styleable,?>> Gets theCssMetaDataassociated with this class, which may include theCssMetaDataof its superclasses.List<CssMetaData<? extends Styleable,?>> Gets the unmodifiable list of the control's CSS-styleable properties.final SingleSelectionModel<Tab>Gets the value of theselectionModelproperty.final SidegetSide()Gets the value of thesideproperty.final TabPane.TabClosingPolicyGets the value of thetabClosingPolicyproperty.final TabPane.TabDragPolicyGets the value of thetabDragPolicyproperty.final doubleGets the value of thetabMaxHeightproperty.final doubleGets the value of thetabMaxWidthproperty.final doubleGets the value of thetabMinHeightproperty.final doubleGets the value of thetabMinWidthproperty.final ObservableList<Tab>getTabs()The tabs to display in this TabPane.final booleanGets the value of therotateGraphicproperty.final BooleanPropertySpecifies whether the graphic inside aTabis rotated or not, such that it is always upright, or rotated in the same way as theTabtext is.final ObjectProperty<SingleSelectionModel<Tab>>The selection model used for selecting tabs.final voidsetRotateGraphic(boolean value) Sets the value of therotateGraphicproperty.final voidsetSelectionModel(SingleSelectionModel<Tab> value) Sets the value of theselectionModelproperty.final voidSets the value of thesideproperty.final voidSets the value of thetabClosingPolicyproperty.final voidSets the value of thetabDragPolicyproperty.final voidsetTabMaxHeight(double value) Sets the value of thetabMaxHeightproperty.final voidsetTabMaxWidth(double value) Sets the value of thetabMaxWidthproperty.final voidsetTabMinHeight(double value) Sets the value of thetabMinHeightproperty.final voidsetTabMinWidth(double value) Sets the value of thetabMinWidthproperty.final ObjectProperty<Side>The position to place the tabs in thisTabPane.Specifies how theTabPanehandles tab closing from an end-user's perspective.The drag policy for the tabs.final DoublePropertyThe maximum height of aTabin theTabPane.final DoublePropertyThe maximum width of aTabin theTabPane.final DoublePropertyThe minimum height of aTabin theTabPane.final DoublePropertyThe minimum width of aTabin theTabPane.Methods declared in class javafx.scene.control.ControlcomputeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, contextMenuProperty, createDefaultSkin, getContextMenu, getCssMetaData, getInitialFocusTraversable, getSkin, getTooltip, isResizable, setContextMenu, setSkin, setTooltip, skinProperty, tooltipPropertyMethods declared in class javafx.scene.layout.RegionbackgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, computePrefHeight, computePrefWidth, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthPropertyMethods declared in class javafx.scene.ParentgetBaselineOffset, getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, layoutChildren, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBoundsMethods declared in class javafx.scene.NodeaccessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookup, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, queryAccessibleAttribute, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visiblePropertyMethods declared in class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods declared in interface javafx.css.StyleablegetStyleableNode
- 
Property Details- 
selectionModelThe selection model used for selecting tabs. Changing the model alters how the tabs are selected and which tabs are first or last.
- 
sideThe position to place the tabs in thisTabPane. Changes to the value of this property immediately updates the location of the tabs.- Default value:
- Side.Top
- See Also:
 
- 
tabClosingPolicySpecifies how theTabPanehandles tab closing from an end-user's perspective.Refer to the TabPane.TabClosingPolicyenumeration for further details.- Default value:
- TabClosingPolicy.SELECTED_TAB
- See Also:
 
- 
rotateGraphicSpecifies whether the graphic inside aTabis rotated or not, such that it is always upright, or rotated in the same way as theTabtext is.If the value is false, the graphic isn't rotated, resulting in it always appearing upright. If the value istrue, the graphic is rotated with theTabtext.- Default value:
- false
- See Also:
 
- 
tabMinWidthThe minimum width of aTabin theTabPane. This can be used to limit the length of text in tabs to prevent truncation. Setting the same minimum and maximum widths will fix the width of theTab.This value can also be set via CSS using -fx-tab-min-width.- Default value:
- 0
- See Also:
 
- 
tabMaxWidthThe maximum width of aTabin theTabPane. This can be used to limit the length of text in tabs to prevent truncation. If theTabtext is longer than the maximum width, the text will be truncated. Setting the same minimum and maximum widths will fix the width of theTab.This value can also be set via CSS using -fx-tab-max-width.- Default value:
- Double.MAX_VALUE
- See Also:
 
- 
tabMinHeightThe minimum height of aTabin theTabPane. This can be used to limit the height of tabs. Setting the same minimum and maximum heights will fix the height of theTab.This value can also be set via CSS using -fx-tab-min-height.- Default value:
- 0
- See Also:
 
- 
tabMaxHeightThe maximum height of aTabin theTabPane. This can be used to limit the height of tabs. Setting the same minimum and maximum heights will fix the height of theTab.This value can also be set via CSS using -fx-tab-max-height.- Default value:
- Double.MAX_VALUE
- See Also:
 
- 
tabDragPolicyThe drag policy for the tabs. It specifies if tabs can be reordered or not.- Default value:
- TabDragPolicy.FIXED
- Since:
- 10
- See Also:
 
 
- 
- 
Field Details- 
STYLE_CLASS_FLOATINGTabPane mode will be changed to floating allowing the TabPane to be placed alongside other control.- See Also:
 
 
- 
- 
Constructor Details- 
TabPanepublic TabPane()Constructs a new TabPane.
- 
TabPaneConstructs a new TabPane with the given tabs set to show.- Parameters:
- tabs- The- tabsto display inside the TabPane.
- Since:
- JavaFX 8u40
 
 
- 
- 
Method Details- 
getTabsThe tabs to display in this TabPane. Changing this ObservableList will immediately result in the TabPane updating to display the new contents of this ObservableList.If the tabs ObservableList changes, the selected tab will remain the previously selected tab, if it remains within this ObservableList. If the previously selected tab is no longer in the tabs ObservableList, the selected tab will become the first tab in the ObservableList. - Returns:
- the list of tabs
 
- 
setSelectionModelSets the value of theselectionModelproperty.- Property description:
- The selection model used for selecting tabs. Changing the model alters how the tabs are selected and which tabs are first or last.
- Parameters:
- value- the value for the- selectionModelproperty
- See Also:
 
- 
getSelectionModelGets the value of theselectionModelproperty.- Property description:
- The selection model used for selecting tabs. Changing the model alters how the tabs are selected and which tabs are first or last.
- Returns:
- the value of the selectionModelproperty
- See Also:
 
- 
selectionModelPropertyThe selection model used for selecting tabs. Changing the model alters how the tabs are selected and which tabs are first or last.- Returns:
- the selectionModelproperty
- See Also:
 
- 
setSideSets the value of thesideproperty.- Property description:
- The position to place the tabs in this TabPane. Changes to the value of this property immediately updates the location of the tabs.
- Default value:
- Side.Top
- Parameters:
- value- the value for the- sideproperty
- See Also:
 
- 
getSideGets the value of thesideproperty.- Property description:
- The position to place the tabs in this TabPane. Changes to the value of this property immediately updates the location of the tabs.
- Default value:
- Side.Top
- Returns:
- the value of the sideproperty
- See Also:
 
- 
sidePropertyThe position to place the tabs in thisTabPane. Changes to the value of this property immediately updates the location of the tabs.- Default value:
- Side.Top
- Returns:
- the sideproperty
- See Also:
 
- 
setTabClosingPolicySets the value of thetabClosingPolicyproperty.- Property description:
- Specifies how the TabPanehandles tab closing from an end-user's perspective.Refer to the TabPane.TabClosingPolicyenumeration for further details.
- Default value:
- TabClosingPolicy.SELECTED_TAB
- Parameters:
- value- the value for the- tabClosingPolicyproperty
- See Also:
 
- 
getTabClosingPolicyGets the value of thetabClosingPolicyproperty.- Property description:
- Specifies how the TabPanehandles tab closing from an end-user's perspective.Refer to the TabPane.TabClosingPolicyenumeration for further details.
- Default value:
- TabClosingPolicy.SELECTED_TAB
- Returns:
- the value of the tabClosingPolicyproperty
- See Also:
 
- 
tabClosingPolicyPropertySpecifies how theTabPanehandles tab closing from an end-user's perspective.Refer to the TabPane.TabClosingPolicyenumeration for further details.- Default value:
- TabClosingPolicy.SELECTED_TAB
- Returns:
- the tabClosingPolicyproperty
- See Also:
 
- 
setRotateGraphicpublic final void setRotateGraphic(boolean value) Sets the value of therotateGraphicproperty.- Property description:
- Specifies whether the graphic inside a Tabis rotated or not, such that it is always upright, or rotated in the same way as theTabtext is.If the value is false, the graphic isn't rotated, resulting in it always appearing upright. If the value istrue, the graphic is rotated with theTabtext.
- Default value:
- false
- Parameters:
- value- the value for the- rotateGraphicproperty
- See Also:
 
- 
isRotateGraphicpublic final boolean isRotateGraphic()Gets the value of therotateGraphicproperty.- Property description:
- Specifies whether the graphic inside a Tabis rotated or not, such that it is always upright, or rotated in the same way as theTabtext is.If the value is false, the graphic isn't rotated, resulting in it always appearing upright. If the value istrue, the graphic is rotated with theTabtext.
- Default value:
- false
- Returns:
- the value of the rotateGraphicproperty
- See Also:
 
- 
rotateGraphicPropertySpecifies whether the graphic inside aTabis rotated or not, such that it is always upright, or rotated in the same way as theTabtext is.If the value is false, the graphic isn't rotated, resulting in it always appearing upright. If the value istrue, the graphic is rotated with theTabtext.- Default value:
- false
- Returns:
- the rotateGraphicproperty
- See Also:
 
- 
setTabMinWidthpublic final void setTabMinWidth(double value) Sets the value of thetabMinWidthproperty.- Property description:
- The minimum width of a Tabin theTabPane. This can be used to limit the length of text in tabs to prevent truncation. Setting the same minimum and maximum widths will fix the width of theTab.This value can also be set via CSS using -fx-tab-min-width.
- Default value:
- 0
- Parameters:
- value- the value for the- tabMinWidthproperty
- See Also:
 
- 
getTabMinWidthpublic final double getTabMinWidth()Gets the value of thetabMinWidthproperty.- Property description:
- The minimum width of a Tabin theTabPane. This can be used to limit the length of text in tabs to prevent truncation. Setting the same minimum and maximum widths will fix the width of theTab.This value can also be set via CSS using -fx-tab-min-width.
- Default value:
- 0
- Returns:
- the value of the tabMinWidthproperty
- See Also:
 
- 
tabMinWidthPropertyThe minimum width of aTabin theTabPane. This can be used to limit the length of text in tabs to prevent truncation. Setting the same minimum and maximum widths will fix the width of theTab.This value can also be set via CSS using -fx-tab-min-width.- Default value:
- 0
- Returns:
- the tabMinWidthproperty
- See Also:
 
- 
setTabMaxWidthpublic final void setTabMaxWidth(double value) Sets the value of thetabMaxWidthproperty.- Property description:
- The maximum width of a Tabin theTabPane. This can be used to limit the length of text in tabs to prevent truncation. If theTabtext is longer than the maximum width, the text will be truncated. Setting the same minimum and maximum widths will fix the width of theTab.This value can also be set via CSS using -fx-tab-max-width.
- Default value:
- Double.MAX_VALUE
- Parameters:
- value- the value for the- tabMaxWidthproperty
- See Also:
 
- 
getTabMaxWidthpublic final double getTabMaxWidth()Gets the value of thetabMaxWidthproperty.- Property description:
- The maximum width of a Tabin theTabPane. This can be used to limit the length of text in tabs to prevent truncation. If theTabtext is longer than the maximum width, the text will be truncated. Setting the same minimum and maximum widths will fix the width of theTab.This value can also be set via CSS using -fx-tab-max-width.
- Default value:
- Double.MAX_VALUE
- Returns:
- the value of the tabMaxWidthproperty
- See Also:
 
- 
tabMaxWidthPropertyThe maximum width of aTabin theTabPane. This can be used to limit the length of text in tabs to prevent truncation. If theTabtext is longer than the maximum width, the text will be truncated. Setting the same minimum and maximum widths will fix the width of theTab.This value can also be set via CSS using -fx-tab-max-width.- Default value:
- Double.MAX_VALUE
- Returns:
- the tabMaxWidthproperty
- See Also:
 
- 
setTabMinHeightpublic final void setTabMinHeight(double value) Sets the value of thetabMinHeightproperty.- Property description:
- The minimum height of a Tabin theTabPane. This can be used to limit the height of tabs. Setting the same minimum and maximum heights will fix the height of theTab.This value can also be set via CSS using -fx-tab-min-height.
- Default value:
- 0
- Parameters:
- value- the value for the- tabMinHeightproperty
- See Also:
 
- 
getTabMinHeightpublic final double getTabMinHeight()Gets the value of thetabMinHeightproperty.- Property description:
- The minimum height of a Tabin theTabPane. This can be used to limit the height of tabs. Setting the same minimum and maximum heights will fix the height of theTab.This value can also be set via CSS using -fx-tab-min-height.
- Default value:
- 0
- Returns:
- the value of the tabMinHeightproperty
- See Also:
 
- 
tabMinHeightPropertyThe minimum height of aTabin theTabPane. This can be used to limit the height of tabs. Setting the same minimum and maximum heights will fix the height of theTab.This value can also be set via CSS using -fx-tab-min-height.- Default value:
- 0
- Returns:
- the tabMinHeightproperty
- See Also:
 
- 
setTabMaxHeightpublic final void setTabMaxHeight(double value) Sets the value of thetabMaxHeightproperty.- Property description:
- The maximum height of a Tabin theTabPane. This can be used to limit the height of tabs. Setting the same minimum and maximum heights will fix the height of theTab.This value can also be set via CSS using -fx-tab-max-height.
- Default value:
- Double.MAX_VALUE
- Parameters:
- value- the value for the- tabMaxHeightproperty
- See Also:
 
- 
getTabMaxHeightpublic final double getTabMaxHeight()Gets the value of thetabMaxHeightproperty.- Property description:
- The maximum height of a Tabin theTabPane. This can be used to limit the height of tabs. Setting the same minimum and maximum heights will fix the height of theTab.This value can also be set via CSS using -fx-tab-max-height.
- Default value:
- Double.MAX_VALUE
- Returns:
- the value of the tabMaxHeightproperty
- See Also:
 
- 
tabMaxHeightPropertyThe maximum height of aTabin theTabPane. This can be used to limit the height of tabs. Setting the same minimum and maximum heights will fix the height of theTab.This value can also be set via CSS using -fx-tab-max-height.- Default value:
- Double.MAX_VALUE
- Returns:
- the tabMaxHeightproperty
- See Also:
 
- 
getClassCssMetaDataGets theCssMetaDataassociated with this class, which may include theCssMetaDataof its superclasses.- Returns:
- the CssMetaData
- Since:
- JavaFX 8.0
 
- 
getControlCssMetaDataGets the unmodifiable list of the control's CSS-styleable properties.- Overrides:
- getControlCssMetaDatain class- Control
- Returns:
- the unmodifiable list of the control's CSS-styleable properties
- Since:
- JavaFX 8.0
 
- 
tabDragPolicyPropertyThe drag policy for the tabs. It specifies if tabs can be reordered or not.- Default value:
- TabDragPolicy.FIXED
- Returns:
- the tabDragPolicyproperty
- Since:
- 10
- See Also:
 
- 
setTabDragPolicySets the value of thetabDragPolicyproperty.- Property description:
- The drag policy for the tabs. It specifies if tabs can be reordered or not.
- Default value:
- TabDragPolicy.FIXED
- Parameters:
- value- the value for the- tabDragPolicyproperty
- Since:
- 10
- See Also:
 
- 
getTabDragPolicyGets the value of thetabDragPolicyproperty.- Property description:
- The drag policy for the tabs. It specifies if tabs can be reordered or not.
- Default value:
- TabDragPolicy.FIXED
- Returns:
- the value of the tabDragPolicyproperty
- Since:
- 10
- See Also:
 
 
-