selectionChanged

abstract fun selectionChanged(panel: TabbedPanel<T>, new: T?, newIndex: Int?, old: T?, 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

new

item selected

newIndex

of the selected item

old

item that was selected

oldIndex

of previously selected item