setTabCloseCallback

fun JTabbedPane.setTabCloseCallback(tabCloseCallback: TabCloseCallback)

Configures the callback for deciding on the tab close type on all tabs in this tabbed pane. Note that this is only relevant for tabs configured with JComponent.setTabComponentCloseButtonVisible and JTabbedPane.setTabCloseButtonsVisible APIs.

Parameters

tabCloseCallback

Callback for deciding on the tab close type on all tabs in this tabbed pane.

See also