Class MouseEvent

java.lang.Object
eu.svjatoslav.aukio.e3d.gui.humaninput.MouseEvent

public class MouseEvent extends Object
Represents mouse event.
  • Field Details

    • BUTTON_HOVER

      public static final int BUTTON_HOVER
      Mouse over (no button pressed).
      See Also:
    • BUTTON_LEFT

      public static final int BUTTON_LEFT
      Left mouse button.
      See Also:
    • BUTTON_MIDDLE

      public static final int BUTTON_MIDDLE
      Middle mouse button.
      See Also:
    • BUTTON_RIGHT

      public static final int BUTTON_RIGHT
      Right mouse button.
      See Also:
    • BUTTON_BACK

      public static final int BUTTON_BACK
      Mouse back button. AWT on Linux reports X buttons 8/9 as 6/7 and delivers them only as PRESSED/RELEASED, never CLICKED; other platforms may use 4/5 — handle both.
      See Also:
    • BUTTON_FORWARD

      public static final int BUTTON_FORWARD
      Mouse forward button (AWT 7 on Linux = X button 9).
      See Also:
    • coordinate

      public Point2D coordinate
      Mouse coordinate in screen space (pixels) relative to top left corner of the screen when mouse button was clicked.
    • button

      public int button
  • Method Details