Package com.teamdev.jxbrowser.ui.event
Interface MouseReleased
- All Superinterfaces:
MouseEvent
An event indicating that the mouse button has been released.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault MouseButton
button()
Returns the released mouse button.default int
Returns the count of consecutive clicks that happened in a short amount of time.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 MouseReleased.Builder
newBuilder
(Point location) Creates a newMouseReleased
builder with the given required parameters.
-
Method Details
-
newBuilder
Creates a newMouseReleased
builder with the given required parameters.- Parameters:
location
- the mouse position relative to the bounds of the browser instance- Returns:
- a new
MouseReleased.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 released mouse button. -
keyModifiers
Returns the keyboard modifiers applied. -
mouseModifiers
Returns the mouse modifiers applied. -
clickCount
default int clickCount()Returns the count of consecutive clicks that happened in a short amount of time.
-