Interface VetoableTabCloseListener
- All Superinterfaces:
BaseTabCloseListener
,TabCloseListener
Vetoable listener on tab closing. This class is part of officially supported
API.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
vetoTabClosing
(JTabbedPane tabbedPane, Component tabComponent) Called when a tab is about to be closed.Methods inherited from interface org.pushingpixels.radiance.theming.api.tabbed.TabCloseListener
tabClosed, tabClosing
-
Method Details
-
vetoTabClosing
Called when a tab is about to be closed. Can veto the tab closing.- Parameters:
tabbedPane
- Tabbed pane.tabComponent
- Tab component to be closed.- Returns:
true
if the corresponding tab shouldn't be closed,false
otherwise.
-