Interface PEditorEventListener

All Superinterfaces:
EventListener, org.piccolo2d.event.PInputEventListener
All Known Implementing Classes:
ContSpaceMoveHandler, GISAddHandler, GISMoveHandler, GISNetAddEdgeHandler, GISSelectionHandler, GridAddHandler, GridLocationToolTip, GridMoveHandler, NetAddEdgeHandler, NetMoveHandler, SelectionHandler, SpaceAddHandler

public interface PEditorEventListener extends org.piccolo2d.event.PInputEventListener
Deprecated.
2D piccolo based code is being removed
Adds start, stop to PInputEventListener interface.
Author:
Nick Collier
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Cleans up anything created by this listener in init.
    void
    Deprecated.
    Initializes this listener.
    void
    Deprecated.
    Starts the listener.
    void
    Deprecated.
    Stops the listener.

    Methods inherited from interface org.piccolo2d.event.PInputEventListener

    processEvent
  • Method Details

    • init

      void init()
      Deprecated.
      Initializes this listener. This happens only once whereas start / stop may occur multiple times.
    • start

      void start()
      Deprecated.
      Starts the listener. At the very least this should add the listener to whatever PNode it is listening on.
    • stop

      void stop()
      Deprecated.
      Stops the listener. At the very least this should remove the listener to whatever PNode it is listening on.
    • destroy

      void destroy()
      Deprecated.
      Cleans up anything created by this listener in init. This happens only once whereas start / stop may occur multiple times.