selectionChanged

abstract fun selectionChanged(panel: TabbedPanel<T>, newIndex: Int?, oldIndex: Int?)(source)

Called whenever the TabbedPanel's selection changes. This is an explicit API to ensure that behaviors receive the notification before listeners to TabbedPanel.selectionChanged.

Parameters

panel

with change

newIndex

of the selected item

oldIndex

of previously selected item