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
-
Method Summary
Modifier and TypeMethodDescriptiondefault MouseButton
button()
Returns the button that is pressed during the move.default KeyModifiers
Returns the keyboard modifiers applied.default Point
location()
Returns the mouse position relative to the bounds of the browser instance.default Point
Returns the mouse position relative to the bounds of the screen.default MouseModifiers
Returns the mouse modifiers applied.static MouseDragged.Builder
newBuilder
(Point location) Creates a newMouseDragged
builder with the given required parameters.
-
Method Details
-
newBuilder
Creates a newMouseDragged
builder with the given required parameters.- Parameters:
location
- the mouse position relative to the bounds of the browser instance- Returns:
- a new
MouseDragged.Builder
instance
-
location
Description copied from interface:MouseEvent
Returns the mouse position relative to the bounds of the browser instance.- Specified by:
location
in interfaceMouseEvent
-
locationOnScreen
Description copied from interface:MouseEvent
Returns the mouse position relative to the bounds of the screen.- Specified by:
locationOnScreen
in interfaceMouseEvent
-
button
Returns the button that is pressed during the move. -
keyModifiers
Returns the keyboard modifiers applied. -
mouseModifiers
Returns the mouse modifiers applied.
-