java.lang.Object
atlantafx.base.controls.Tab.NoTabsClosingPolicy
-
Field Summary
Fields inherited from interface atlantafx.base.controls.Tab.ClosingPolicy
ALL_TABS, NO_TABS, SELECTED_TAB -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecifies whether a tab can be closed.booleanSpecifies whether a tab can be pinned.Returns the style class to be set to theTabsContainerfor this closing policy.
-
Constructor Details
-
NoTabsClosingPolicy
public NoTabsClosingPolicy()
-
-
Method Details
-
canClose
Description copied from interface:Tab.ClosingPolicySpecifies whether a tab can be closed.- Specified by:
canClosein interfaceTab.ClosingPolicy- Parameters:
tab- the tab to check- Returns:
- true if the tab can be closed; false otherwise
-
canPin
Description copied from interface:Tab.ClosingPolicySpecifies whether a tab can be pinned.- Specified by:
canPinin interfaceTab.ClosingPolicy- Parameters:
tab- the tab to check- Returns:
- true if the tab can be pinned; false otherwise
-
getStyleClass
Description copied from interface:Tab.ClosingPolicyReturns the style class to be set to theTabsContainerfor this closing policy.- Specified by:
getStyleClassin interfaceTab.ClosingPolicy- Returns:
- the style class as a String
-