Interface TabCloseListener
- All Superinterfaces:
BaseTabCloseListener
- All Known Subinterfaces:
VetoableTabCloseListener
Listener on tab closing. This class is part of officially supported API.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
tabClosed
(JTabbedPane tabbedPane, Component tabComponent) Called when a tab is closed.void
tabClosing
(JTabbedPane tabbedPane, Component tabComponent) Called when a tab is about to be closed.
-
Method Details
-
tabClosing
Called when a tab is about to be closed.- Parameters:
tabbedPane
- Tabbed pane.tabComponent
- Tab component to be closed.
-
tabClosed
Called when a tab is closed.- Parameters:
tabbedPane
- Tabbed pane.tabComponent
- Tab component closed.
-