MouseEvent.delta

Overview | Methods | Fields | This Package | All Packages

MouseEvent.delta

Specifies the amount that the mouse wheel has moved.

Syntax

public final int delta;

Remarks

Microsoft standards specify that the view should scroll by the number of lines returned by com.ms.wfc.app.SystemInformation.getMouseWheelScrollLines when the delta value has reached the value specified in win.WHEEL_DELTA. If a mouseWheel event occurs with a value less than WHEEL_DELTA, the control should either increment a stored value and wait until the total delta is an increment of WHEEL_DELTA or scroll the view a percentage of MouseWheelScrollLines.