CheckBox.addOnCheckedChanged

Overview | Methods | This Package | All Packages

CheckBox.addOnCheckedChanged

Assigns a delegate to the checkedChanged event.

Syntax

public final void addOnCheckedChanged( EventHandler value )

Parameters

value

The EventHandler delegate to be notified when the event occurs.

Remarks

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