Interface MouseModifiers


public interface MouseModifiers
The modifiers for the mouse events. Indicates which mouse buttons are pressed.
  • Method Details

    • newBuilder

      static MouseModifiers.Builder newBuilder()
      Creates a new MouseModifiers builder.
      Returns:
      a new MouseModifiers.Builder instance
    • isPrimaryButtonDown

      default boolean isPrimaryButtonDown()
      Returns true if the primary mouse button is pressed.
    • isMiddleButtonDown

      default boolean isMiddleButtonDown()
      Returns true if the middle mouse button is pressed.
    • isSecondaryButtonDown

      default boolean isSecondaryButtonDown()
      Returns true if the secondary mouse button is pressed.