CheckBox.addOnCheckStateChanged

Overview | Methods | This Package | All Packages

CheckBox.addOnCheckStateChanged

Assigns a delegate to the checkStateChanged event.

Syntax

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

See Also   removeOnCheckStateChanged