Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.addOnMouseLeave

Assigns a delegate to the mouseLeave event.

Syntax

public final void addOnMouseLeave( 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 mouseLeave event to that method in the Properties window. The mouseLeave event occurs when the mouse first moves away from this control.

See Also   removeOnMouseLeave