Class MouseEvent

All Implemented Interfaces:
Serializable

public class MouseEvent extends InputEvent
An event caused by the user interacting with the mouse.
See Also:
  • Field Details

    • x

      public int x
      The X coordinate of the mouse event.
    • y

      public int y
      The Y coordinate of the mouse event.
    • button

      public int button
      The button that was pressed or released: {1, 2, 3}.
  • Constructor Details

  • Method Details