public class MouseMotionEvent extends InputEvent
Movement events are only generated if the mouse is on-screen.
consumed, time| Constructor and Description |
|---|
MouseMotionEvent(int x,
int y,
int dx,
int dy,
int wheel,
int deltaWheel) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDeltaWheel()
The change in wheel rotation.
|
int |
getDX()
The change in X coordinate
|
int |
getDY()
The change in Y coordinate
|
int |
getWheel()
Current mouse wheel value
|
int |
getX()
Current X coordinate
|
int |
getY()
Current Y coordinate
|
java.lang.String |
toString() |
getTime, isConsumed, setConsumed, setTimepublic MouseMotionEvent(int x,
int y,
int dx,
int dy,
int wheel,
int deltaWheel)
public int getDeltaWheel()
public int getDX()
public int getDY()
public int getWheel()
public int getX()
public int getY()
public java.lang.String toString()
toString in class java.lang.Object