Interface MouseMoved

All Superinterfaces:
MouseEvent

public interface MouseMoved extends MouseEvent
An event indicating that the mouse has been moved.
  • Method Details

    • newBuilder

      static MouseMoved.Builder newBuilder(Point location)
      Creates a new MouseMoved builder with the given required parameters.
      Parameters:
      location - the mouse position relative to the bounds of the browser instance
      Returns:
      a new MouseMoved.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
    • keyModifiers

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

      default MouseModifiers mouseModifiers()
      Returns the mouse modifiers applied.