Class GISNetAddEdgeHandler

  • All Implemented Interfaces:
    EventListener, org.piccolo2d.event.PInputEventListener, PEditorEventListener

    public class GISNetAddEdgeHandler
    extends org.piccolo2d.event.PBasicInputEventHandler
    implements PEditorEventListener
    Deprecated.
    2D piccolo based code is being removed
    Event handler for adding edges to gis.
    Author:
    Nick Collier
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void destroy()
      Deprecated.
      Cleans up anything created by this listener in init.
      void init()
      Deprecated.
      Initializes this listener.
      void mouseClicked​(org.piccolo2d.event.PInputEvent event)
      Deprecated.
       
      void mouseMoved​(org.piccolo2d.event.PInputEvent event)
      Deprecated.
       
      void start()
      Deprecated.
      Starts the listener.
      void stop()
      Deprecated.
      Stops the listener.
      • Methods inherited from class org.piccolo2d.event.PBasicInputEventHandler

        acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyPressed, keyReleased, keyTyped, mouseDragged, mouseEntered, mouseExited, mousePressed, mouseReleased, mouseWheelRotated, mouseWheelRotatedByBlock, processEvent, setEventFilter
      • Methods inherited from interface org.piccolo2d.event.PInputEventListener

        processEvent
    • Method Detail

      • init

        public void init()
        Deprecated.
        Initializes this listener. This happens only once whereas start / stop may occur multiple times.
        Specified by:
        init in interface PEditorEventListener
      • destroy

        public void destroy()
        Deprecated.
        Cleans up anything created by this listener in init. This happens only once whereas start / stop may occur multiple times.
        Specified by:
        destroy in interface PEditorEventListener
      • mouseClicked

        public void mouseClicked​(org.piccolo2d.event.PInputEvent event)
        Deprecated.
        Overrides:
        mouseClicked in class org.piccolo2d.event.PBasicInputEventHandler
      • mouseMoved

        public void mouseMoved​(org.piccolo2d.event.PInputEvent event)
        Deprecated.
        Overrides:
        mouseMoved in class org.piccolo2d.event.PBasicInputEventHandler
      • start

        public void start()
        Deprecated.
        Starts the listener. At the very least this should add the listener to whatever PNode it is listening on.
        Specified by:
        start in interface PEditorEventListener
      • stop

        public void stop()
        Deprecated.
        Stops the listener. At the very least this should remove the listener to whatever PNode it is listening on.
        Specified by:
        stop in interface PEditorEventListener