Overview | Methods | Fields | This Package | All Packages
Assigns a delegate to the mouseWheel event.
Syntax
public final void addOnMouseWheel( 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 mouseWheel event to that method in the Properties window. The mouseWheel event occurs when the user rotates the mouse wheel while this control has the focus. Pressing the mouse wheel generates a mouseDown event with the middle button pressed.
See Also removeOnMouseWheel