Class MouseEvent
java.lang.Object
eu.svjatoslav.aukio.e3d.gui.humaninput.MouseEvent
Represents mouse event.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintstatic final intMouse back button.static final intMouse forward button (AWT 7 on Linux = X button 9).static final intMouse over (no button pressed).static final intLeft mouse button.static final intMiddle mouse button.static final intRight mouse button.Mouse coordinate in screen space (pixels) relative to top left corner of the screen when mouse button was clicked. -
Method Summary
-
Field Details
-
BUTTON_HOVER
public static final int BUTTON_HOVERMouse over (no button pressed).- See Also:
-
BUTTON_LEFT
public static final int BUTTON_LEFTLeft mouse button.- See Also:
-
BUTTON_MIDDLE
public static final int BUTTON_MIDDLEMiddle mouse button.- See Also:
-
BUTTON_RIGHT
public static final int BUTTON_RIGHTRight mouse button.- See Also:
-
BUTTON_BACK
public static final int BUTTON_BACKMouse 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_FORWARDMouse forward button (AWT 7 on Linux = X button 9).- See Also:
-
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
-
toString
-