Package playn.scene

Class Pointer.Listener

java.lang.Object
react.Slot<Object>
playn.scene.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 Details

    • Listener

      public Listener()
  • Method Details

    • onStart

      public void onStart(Pointer.Interaction iact)
      Notifies listener of a pointer start event.
    • onDrag

      public void onDrag(Pointer.Interaction iact)
      Notifies listener of a pointer drag (move) event.
    • onEnd

      public void onEnd(Pointer.Interaction iact)
      Notifies listener of a pointer end event.
    • onCancel

      public void onCancel(Pointer.Interaction iact)
      Notifies listener of a pointer cancel event.
    • onEmit

      public final void onEmit(Object event)