setTabComponentCloseCallback

fun JComponent.setTabComponentCloseCallback(tabCloseCallback: TabCloseCallback)

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

See also

Parameters

tabCloseCallback

Callback for deciding on the tab close type on the tab component.