Enum Class TabPane.TabDragPolicy
- All Implemented Interfaces:
- Serializable,- Comparable<TabPane.TabDragPolicy>,- Constable
- Enclosing class:
- TabPane
This enum specifies drag policies for tabs in a TabPane.
- Since:
- 10
- 
Nested Class SummaryNested classes/interfaces declared in class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionstatic TabPane.TabDragPolicyReturns the enum constant of this class with the specified name.static TabPane.TabDragPolicy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
FIXEDThe tabs remain fixed in their positions and cannot be dragged.
- 
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. Apermutation 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.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-