Interface VetoableMultipleTabCloseListener
- All Superinterfaces:
BaseTabCloseListener
,MultipleTabCloseListener
Vetoable listener on tabs closing. This class is part of officially supported
API.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
vetoTabsClosing
(JTabbedPane tabbedPane, Set<Component> tabComponents) Called when tabs are about to be closed.Methods inherited from interface org.pushingpixels.radiance.theming.api.tabbed.MultipleTabCloseListener
tabsClosed, tabsClosing
-
Method Details
-
vetoTabsClosing
Called when tabs are about to be closed. Can veto the tabs closing.- Parameters:
tabbedPane
- Tabbed pane.tabComponents
- Tab components to be closed.- Returns:
true
if the corresponding tabs shouldn't be closed,false
otherwise.
-