Interface MouseReleased

All Superinterfaces:
MouseEvent

public interface MouseReleased extends MouseEvent
An event indicating that the mouse button has been released.
  • Method Details

    • newBuilder

      static MouseReleased.Builder newBuilder(Point location)
      Creates a new MouseReleased 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

      default Point location()
      Description copied from interface: MouseEvent
      Returns the mouse position relative to the bounds of the browser instance.
      Specified by:
      location in interface MouseEvent
    • locationOnScreen

      default Point locationOnScreen()
      Description copied from interface: MouseEvent
      Returns the mouse position relative to the bounds of the screen.
      Specified by:
      locationOnScreen in interface MouseEvent
    • button

      default MouseButton button()
      Returns the released mouse button.
    • keyModifiers

      default KeyModifiers keyModifiers()
      Returns the keyboard modifiers applied.
    • mouseModifiers

      default MouseModifiers mouseModifiers()
      Returns the mouse modifiers applied.
    • clickCount

      default int clickCount()
      Returns the count of consecutive clicks that happened in a short amount of time.