Package playn.scene
Class Pointer.Listener
- All Implemented Interfaces:
Reactor.RListener
,SignalView.Listener<Object>
,ValueView.Listener<Object>
- Enclosing class:
Pointer
A listener for pointer events with layer info.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCancel
(Pointer.Interaction iact) Notifies listener of a pointer cancel event.void
onDrag
(Pointer.Interaction iact) Notifies listener of a pointer drag (move) event.final void
void
onEnd
(Pointer.Interaction iact) Notifies listener of a pointer end event.void
onStart
(Pointer.Interaction iact) Notifies listener of a pointer start event.
-
Constructor Details
-
Listener
public Listener()
-
-
Method Details
-
onStart
Notifies listener of a pointer start event. -
onDrag
Notifies listener of a pointer drag (move) event. -
onEnd
Notifies listener of a pointer end event. -
onCancel
Notifies listener of a pointer cancel event. -
onEmit
-