public interface IMouseEventRelay
Modifier and Type | Method and Description |
---|---|
void |
mouseClickedDouble(int screenCoordX,
int screenCoordY)
Event to signal that a mouse button has been double clicked.
|
void |
mouseClickedDown(int screenCoordX,
int screenCoordY)
Event to signal that the left mouse button has been pushed but not released yet.
|
void |
mouseClickedDownRight(int screenCoordX,
int screenCoordY)
Event to signal that the right mouse button has been pushed but not released yet.
|
void |
mouseClickedUp(int screenCoordX,
int screenCoordY)
Event to signal that the left mouse button has been released.
|
void |
mouseClickedUpRight(int screenCoordX,
int screenCoordY)
Event to signal that the right mouse button has been released.
|
void |
mouseDrag(int screenCoordXFrom,
int screenCoordYFrom,
int screenCoordXTo,
int screenCoordYTo)
Event to signal that a mouse has been dragged from one point to
a next.
|
void |
mouseEnter(int screenCoordX,
int screenCoordY) |
void |
mouseExit(int screenCoordX,
int screenCoordY) |
void |
mouseMove(int screenCoordX,
int screenCoordY)
Event to signal that a mouse has been moved to the new coordinates.
|
void |
mouseWheelMovedBackward(int rotation)
Event to signal that the mouse wheel has been rotated a certain amount backward.
|
void |
mouseWheelMovedForward(int rotation)
Event to signal that the mouse wheel has been rotated a certain amount forward.
|
void mouseClickedUp(int screenCoordX, int screenCoordY)
screenCoordX
- the x part of the screen coordinate where the event happened.screenCoordY
- the y part of the screen coordinate where the event happened.void mouseClickedDown(int screenCoordX, int screenCoordY)
screenCoordX
- the x part of the screen coordinate where the event happened.screenCoordY
- the y part of the screen coordinate where the event happened.void mouseClickedDownRight(int screenCoordX, int screenCoordY)
screenCoordX
- the x part of the screen coordinate where the event happened.screenCoordY
- the y part of the screen coordinate where the event happened.void mouseClickedUpRight(int screenCoordX, int screenCoordY)
screenCoordX
- the x part of the screen coordinate where the event happened.screenCoordY
- the y part of the screen coordinate where the event happened.void mouseClickedDouble(int screenCoordX, int screenCoordY)
screenCoordX
- the x part of the screen coordinate where the event happened.screenCoordY
- the y part of the screen coordinate where the event happened.void mouseMove(int screenCoordX, int screenCoordY)
screenCoordX
- the x part of the latest screen coordinate.screenCoordY
- the y part of the latest screen coordinate.void mouseEnter(int screenCoordX, int screenCoordY)
screenCoordX
- screenCoordY
- void mouseExit(int screenCoordX, int screenCoordY)
screenCoordX
- screenCoordY
- void mouseDrag(int screenCoordXFrom, int screenCoordYFrom, int screenCoordXTo, int screenCoordYTo)
screenCoordXFrom
- the x part of the screen coordinate dragged from.screenCoordYFrom
- the y part of the screen coordinate dragged from.screenCoordXTo
- the x part of the screen coordinate dragged to.screenCoordYTo
- the y part of the screen coordinate dragged to.void mouseWheelMovedForward(int rotation)
rotation
- an platform-specific amount of rotation of the wheelmouseWheelMovedBackward(int)
void mouseWheelMovedBackward(int rotation)
rotation
- an platform-specific amount of rotation of the wheelmouseWheelMovedForward(int)
Copyright © 2021. All rights reserved.