public static interface Pointer.PointerListener
| Modifier and Type | Method and Description |
|---|---|
void |
move(Pointer widget,
int x,
int y)
The pointer has moved to a new position.
|
void |
press(Pointer widget,
int x,
int y,
MouseListener.MouseButton button)
The specified pointer button has been pressed at given location.
|
void |
release(Pointer widget,
MouseListener.MouseButton button)
The specified pointer button has been released.
|
void move(Pointer widget, int x, int y)
widget - the pointer that has been updated.x - the x coordinate of the new position.y - the y coordinate of the new position.void press(Pointer widget, int x, int y, MouseListener.MouseButton button)
widget - the pointer that has been updated.x - the x coordinate of the press position.y - the y coordinate of the press position.button - the button that has been pressed.void release(Pointer widget, MouseListener.MouseButton button)
widget - the pointer that has been updated.button - the button that has been released.