Package com.teamdev.jxbrowser.ui.event
Interface MouseWheel
- All Superinterfaces:
MouseEvent
An event indicating that the mouse wheel button has been rotated.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault floatdeltaX()Returns the number of units to scroll horizontally.default floatdeltaY()Returns the number of units to scroll vertically.default KeyModifiersReturns the keyboard modifiers applied.default Pointlocation()Returns the mouse position relative to the bounds of the browser instance.default PointReturns the mouse position relative to the bounds of the screen.static MouseWheel.BuildernewBuilder(Point location) Creates a newMouseWheelbuilder with the given required parameters.default ScrollTypeReturns the scroll type of the event.
-
Method Details
-
newBuilder
Creates a newMouseWheelbuilder with the given required parameters.- Parameters:
location- the mouse position relative to the bounds of the browser instance- Returns:
- a new
MouseWheel.Builderinstance
-
location
Description copied from interface:MouseEventReturns the mouse position relative to the bounds of the browser instance.- Specified by:
locationin interfaceMouseEvent
-
locationOnScreen
Description copied from interface:MouseEventReturns the mouse position relative to the bounds of the screen.- Specified by:
locationOnScreenin interfaceMouseEvent
-
keyModifiers
Returns the keyboard modifiers applied. -
scrollType
Returns the scroll type of the event. -
deltaX
default float deltaX()Returns the number of units to scroll horizontally. -
deltaY
default float deltaY()Returns the number of units to scroll vertically.
-