- Enclosing class:
public static enum TabPane.TabDragPolicy extends Enum<TabPane.TabDragPolicy>
Enum Constant Details
public static final TabPane.TabDragPolicy FIXEDThe tabs remain fixed in their positions and cannot be dragged.
public static final TabPane.TabDragPolicy REORDERThe tabs can be dragged to reorder them within the same TabPane. Users can perform the simple mouse press-drag-release gesture on a tab header to drag it to a new position. A tab can not be detached from its parent TabPane.
After a tab is reordered, the
tabslist is permuted to reflect the updated order. A
permutation changeevent is fired to indicate which tabs were reordered. This reordering is done after the mouse button is released. While a tab is being dragged, the list of tabs is unchanged.
public static TabPane.TabDragPolicy values()Returns an array containing the constants of this enum type, in the order they are declared.
- an array containing the constants of this enum type, in the order they are declared
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)