Interface MouseEvent

All Known Subinterfaces:
MouseDragged, MouseEntered, MouseExited, MouseMoved, MousePressed, MouseReleased, MouseWheel

public interface MouseEvent
A common interface that all mouse events must extend.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the mouse position relative to the bounds of the browser instance.
    Returns the mouse position relative to the bounds of the screen.
  • Method Details

    • location

      Point location()
      Returns the mouse position relative to the bounds of the browser instance.
    • locationOnScreen

      Point locationOnScreen()
      Returns the mouse position relative to the bounds of the screen.