Interface MouseEvent

All Superinterfaces:
com.globalmentor.event.Event, GestureInputEvent, GuiseEvent, InputEvent, com.globalmentor.event.TargetedEvent
All Known Implementing Classes:
AbstractMouseEvent, MouseClickEvent, MouseEnterEvent, MouseExitEvent

public interface MouseEvent extends GestureInputEvent, com.globalmentor.event.TargetedEvent
An event providing mouse information.
Author:
Garret Wilson
  • Method Details

    • getTargetBounds

      Rectangle getTargetBounds()
      Returns:
      The absolute bounds of the event target.
    • getViewportBounds

      Rectangle getViewportBounds()
      Returns:
      The absolute bounds of the viewport.
    • getMousePosition

      Point getMousePosition()
      Returns:
      The position of the mouse relative to the viewport.