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 TypeMethodDescriptionvoidtabClosed(JTabbedPane tabbedPane, Component tabComponent) Called when a tab is closed.voidtabClosing(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.
-