public interface PointerEventHandler
Pointer
events.Modifier and Type | Method and Description |
---|---|
boolean |
onPointerClicked(Pointer pointer,
int pointerX,
int pointerY,
int event)
Handles pointer clicked event.
|
boolean |
onPointerDoubleClicked(Pointer pointer,
int pointerX,
int pointerY,
int event)
Handles pointer double-clicked event.
|
boolean |
onPointerDragged(Pointer pointer,
int pointerX,
int pointerY,
int event)
Handles pointer dragged event.
|
boolean |
onPointerEntered(Pointer pointer,
int pointerX,
int pointerY,
int event)
Handles pointer entered event.
|
boolean |
onPointerExited(Pointer pointer,
int pointerX,
int pointerY,
int event)
Handles pointer exited event.
|
boolean |
onPointerMoved(Pointer pointer,
int pointerX,
int pointerY,
int event)
Handles pointer moved event.
|
boolean |
onPointerPressed(Pointer pointer,
int pointerX,
int pointerY,
int event)
Handles pointer pressed event.
|
boolean |
onPointerReleased(Pointer pointer,
int pointerX,
int pointerY,
int event)
Handles pointer released event.
|
boolean onPointerPressed(Pointer pointer, int pointerX, int pointerY, int event)
pointer
- the pointer that generates the event.pointerX
- the current x coordinate of the pointer.pointerY
- the current y coordinate of the pointer.event
- the pointer event to handle.true
if the event is consumed, false
otherwise.boolean onPointerReleased(Pointer pointer, int pointerX, int pointerY, int event)
pointer
- the pointer that generates the event.pointerX
- the current x coordinate of the pointer.pointerY
- the current y coordinate of the pointer.event
- the pointer event to handle.true
if the event is consumed, false
otherwise.boolean onPointerMoved(Pointer pointer, int pointerX, int pointerY, int event)
pointer
- the pointer that generates the event.pointerX
- the current x coordinate of the pointer.pointerY
- the current y coordinate of the pointer.event
- the pointer event to handle.true
if the event is consumed, false
otherwise.boolean onPointerDragged(Pointer pointer, int pointerX, int pointerY, int event)
pointer
- the pointer that generates the event.pointerX
- the current x coordinate of the pointer.pointerY
- the current y coordinate of the pointer.event
- the pointer event to handle.true
if the event is consumed, false
otherwise.boolean onPointerEntered(Pointer pointer, int pointerX, int pointerY, int event)
pointer
- the pointer that generates the event.pointerX
- the current x coordinate of the pointer.pointerY
- the current y coordinate of the pointer.event
- the pointer event to handle.true
if the event is consumed, false
otherwise.boolean onPointerExited(Pointer pointer, int pointerX, int pointerY, int event)
pointer
- the pointer that generates the event.pointerX
- the current x coordinate of the pointer.pointerY
- the current y coordinate of the pointer.event
- the pointer event to handle.true
if the event is consumed, false
otherwise.boolean onPointerClicked(Pointer pointer, int pointerX, int pointerY, int event)
pointer
- the pointer that generates the event.pointerX
- the current x coordinate of the pointer.pointerY
- the current y coordinate of the pointer.event
- the pointer event to handle.true
if the event is consumed, false
otherwise.boolean onPointerDoubleClicked(Pointer pointer, int pointerX, int pointerY, int event)
pointer
- the pointer that generates the event.pointerX
- the current x coordinate of the pointer.pointerY
- the current y coordinate of the pointer.event
- the pointer event to handle.true
if the event is consumed, false
otherwise.