public interface WheelEvent extends MouseEvent
This event occurs when a user rotates a wheel on a pointing device (such as a mouse).
Modifier and Type | Interface and Description |
---|---|
static class |
WheelEvent.DeltaMode
Represents the type of the delta units.
|
MouseEvent.Button
Modifier and Type | Method and Description |
---|---|
WheelEvent.DeltaMode |
deltaMode()
Returns the delta units type.
|
double |
deltaX()
Returns the amount of units to scroll horizontally.
|
double |
deltaY()
Returns the amount of units to scroll vertically.
|
button, clickCount, clientLocation, offsetLocation, screenLocation
keyModifiers
currentTarget, isBubbles, isCancelable, phase, preventDefault, stopPropagation, target, type
double deltaX()
double deltaY()
WheelEvent.DeltaMode deltaMode()