Interface MouseEntered

All Superinterfaces:
MouseEvent

public interface MouseEntered extends MouseEvent
An event indicating that the mouse has been moved over the web page.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder of MouseEntered.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Point
    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.
    newBuilder(Point location)
    Creates a new MouseEntered builder with the given required parameters.
  • Method Details

    • newBuilder

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