Package playn.scene
Class Pointer.Listener
- All Implemented Interfaces:
Reactor.RListener,SignalView.Listener<Object>,ValueView.Listener<Object>
- Enclosing class:
- Pointer
public abstract static class Pointer.Listener extends Slot<Object>
A listener for pointer events with layer info.
-
Constructor Summary
Constructors Constructor Description Listener() -
Method Summary
Modifier and Type Method Description voidonCancel(Pointer.Interaction iact)Notifies listener of a pointer cancel event.voidonDrag(Pointer.Interaction iact)Notifies listener of a pointer drag (move) event.voidonEmit(Object event)voidonEnd(Pointer.Interaction iact)Notifies listener of a pointer end event.voidonStart(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
-