A DESCRIPTION OF THE REQUEST :
The default tab control provides no ability to reorder the tabs as the user sees fit. This behavior is implemented in other JavaFX controls including com.sun.javafx.scene.control.skin.TableColumnHeader
This behavior is a basic component of any tab header layout in any GUI framework. Drag and Drop is not required to implement this behavior it is only necessary that the headers be rearranged.
JUSTIFICATION :
This enhancement is necessary to provide a comparable feature set with other JavaFX controls. This feature is found in every modern widget library including Qt framework.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A setMovable property should exist for the tab panel allowing its tabs to be reordered by dragging their headers.
ACTUAL -
The feature does not exist and the user must write boiler plate drag and drop code to achieve such functionality. This is in stark contrast to other JavaFX widgets which so already provide such functionality.
CUSTOMER SUBMITTED WORKAROUND :
A substantial amount of boiler plate code must be written to implement this behavior to have comparable features of other JavaFX controls.
The default tab control provides no ability to reorder the tabs as the user sees fit. This behavior is implemented in other JavaFX controls including com.sun.javafx.scene.control.skin.TableColumnHeader
This behavior is a basic component of any tab header layout in any GUI framework. Drag and Drop is not required to implement this behavior it is only necessary that the headers be rearranged.
JUSTIFICATION :
This enhancement is necessary to provide a comparable feature set with other JavaFX controls. This feature is found in every modern widget library including Qt framework.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A setMovable property should exist for the tab panel allowing its tabs to be reordered by dragging their headers.
ACTUAL -
The feature does not exist and the user must write boiler plate drag and drop code to achieve such functionality. This is in stark contrast to other JavaFX widgets which so already provide such functionality.
CUSTOMER SUBMITTED WORKAROUND :
A substantial amount of boiler plate code must be written to implement this behavior to have comparable features of other JavaFX controls.
- duplicates
-
JDK-8092098 [TabPane] Support for draggable tabs
- Open