Package com.teamdev.jxbrowser.ui.event
Interface MouseDragged
- All Superinterfaces:
MouseEvent
An event indicating that the mouse has been moved while the mouse button is pressed.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault MouseButtonbutton()Returns the button that is pressed during the move.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.default MouseModifiersReturns the mouse modifiers applied.static MouseDragged.BuildernewBuilder(Point location) Creates a newMouseDraggedbuilder with the given required parameters.
-
Method Details
-
newBuilder
Creates a newMouseDraggedbuilder with the given required parameters.- Parameters:
location- the mouse position relative to the bounds of the browser instance- Returns:
- a new
MouseDragged.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
-
button
Returns the button that is pressed during the move. -
keyModifiers
Returns the keyboard modifiers applied. -
mouseModifiers
Returns the mouse modifiers applied.
-