Assigns a delegate to the selectedIndexChanged event.
public final void addOnSelectedIndexChanged( EventHandler value )
value
The EventHandler delegate to be notified when the event occurs.
Passing an event handler as a parameter to this method is equivalent to setting the selectedIndexChanged event to that method in the Properties window. The selectedIndexChanged event occurs when a different tab is selected by the user or programmatically.
See Also removeOnSelectedIndexChanged