Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jvnet.substance.api.tabbed
Interface VetoableMultipleTabCloseListener

All Superinterfaces:
  BaseTabCloseListener, MultipleTabCloseListener

    public interface VetoableMultipleTabCloseListener

extends MultipleTabCloseListener

Vetoable listener on tabs closing. This class is part of officially supported API.

Author:
  Kirill Grouchnikov

Method Summary
`boolean` | `vetoTabsClosing(javax.swing.JTabbedPane tabbedPane, java.util.Set<java.awt.Component> tabComponents)` Called when tabs are about to be closed.

Methods inherited from interface org.jvnet.substance.api.tabbed.MultipleTabCloseListener
`tabsClosed, tabsClosing`

Method Detail

### vetoTabsClosing

    boolean vetoTabsClosing(javax.swing.JTabbedPane tabbedPane,
                            java.util.Set<java.awt.Component> tabComponents)

  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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD