Assigns a delegate to the checkedChanged event.
public final void addOnCheckedChanged( 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 checkedChanged event to that method in the Properties window. The checkedChanged event occurs when the value of the CheckBox control changes. For check boxes that support an indeterminate state in addition to a checked and a unchecked state, use the addOnCheckStateChanged method instead of the addOnCheckedChanged method.
See Also removeOnCheckedChanged