Control.addOnMouseDown

Overview | Methods | Fields | This Package | All Packages

Control.addOnMouseDown

Assigns a delegate to the mouseDown event.

Syntax

public final void addOnMouseDown( MouseEventHandler value )

Parameters

value

The MouseEventHandler delegate to be notified when the event occurs.

Remarks

Passing an event handler as a parameter to this method is equivalent to setting the mouseDown event to that method in the Properties window. The mouseDown event occurs when the user presses down the mouse button over this control.

See Also   removeOnMouseDown