Package com.teamdev.jxbrowser.ui
Interface MouseModifiers
public interface MouseModifiers
The modifiers for the mouse events. Indicates which mouse buttons are pressed.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Returnstrue
if the middle mouse button is pressed.default boolean
Returnstrue
if the primary mouse button is pressed.default boolean
Returnstrue
if the secondary mouse button is pressed.static MouseModifiers.Builder
Creates a newMouseModifiers
builder.
-
Method Details
-
newBuilder
Creates a newMouseModifiers
builder.- Returns:
- a new
MouseModifiers.Builder
instance
-
isPrimaryButtonDown
default boolean isPrimaryButtonDown()Returnstrue
if the primary mouse button is pressed. -
isMiddleButtonDown
default boolean isMiddleButtonDown()Returnstrue
if the middle mouse button is pressed. -
isSecondaryButtonDown
default boolean isSecondaryButtonDown()Returnstrue
if the secondary mouse button is pressed.
-