BaseTabCloseListener, MultipleTabCloseListenerpublic interface VetoableMultipleTabCloseListener extends MultipleTabCloseListener
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
vetoTabsClosing(JTabbedPane tabbedPane,
Set<Component> tabComponents) |
Called when tabs are about to be closed.
|
tabsClosed, tabsClosingboolean vetoTabsClosing(JTabbedPane tabbedPane, Set<Component> tabComponents)
tabbedPane - Tabbed pane.tabComponents - Tab components to be closed.true if the corresponding tabs shouldn't be closed,
false otherwise.