Enum Class TabPane.TabClosingPolicy

java.lang.Object
java.lang.Enum<TabPane.TabClosingPolicy>
javafx.scene.control.TabPane.TabClosingPolicy
All Implemented Interfaces:
Serializable, Comparable<TabPane.TabClosingPolicy>, Constable
Enclosing class:
TabPane

public static enum TabPane.TabClosingPolicy extends Enum<TabPane.TabClosingPolicy>
Specifies how the TabPane handles tab closing from an end-user's perspective. The options are:
  • TabClosingPolicy.UNAVAILABLE: Tabs can not be closed by the user
  • TabClosingPolicy.SELECTED_TAB: Only the currently selected tab will have the option to be closed, with a graphic next to the tab text being shown. The graphic will disappear when a tab is no longer selected.
  • TabClosingPolicy.ALL_TABS: All tabs will have the option to be closed.
Since:
JavaFX 2.0