onClosed

fun onClosed(handlerCombination: HandlerCombination = HandlerCombination.AFTER, block: (event: ActionEvent) -> Unit)

The event is fired when this tab is removed from TabBar.tabs / TabPane.tabs, regardless of how that happens (close button pressed, requestClose called or the tab removed from TabBar.tabs / TabPane.tabs programmatically).