Class GISMoveHandler

java.lang.Object
org.piccolo2d.event.PBasicInputEventHandler
org.piccolo2d.event.PDragSequenceEventHandler
repast.simphony.visualization.editor.gis.GISMoveHandler
All Implemented Interfaces:
EventListener, org.piccolo2d.event.PInputEventListener, PEditorEventListener

public class GISMoveHandler extends org.piccolo2d.event.PDragSequenceEventHandler implements PEditorEventListener
Deprecated.
2D piccolo based code is being removed
Event handler for moving gis objects.
Author:
Nick Collier
  • Constructor Summary

    Constructors
    Constructor
    Description
    GISMoveHandler(PGISCanvas canvas, DisplayGIS display, EditorNotifier notifier)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Cleans up anything created by this listener in init.
    protected void
    drag(org.piccolo2d.event.PInputEvent event)
    Deprecated.
     
    protected void
    endDrag(org.piccolo2d.event.PInputEvent event)
    Deprecated.
     
    void
    Deprecated.
    Initializes this listener.
    void
    mousePressed(org.piccolo2d.event.PInputEvent event)
    Deprecated.
     
    protected boolean
    shouldStartDragInteraction(org.piccolo2d.event.PInputEvent event)
    Deprecated.
     
    void
    Deprecated.
    Starts the listener.
    protected void
    startDrag(org.piccolo2d.event.PInputEvent event)
    Deprecated.
     
    void
    Deprecated.
    Stops the listener.

    Methods inherited from class org.piccolo2d.event.PDragSequenceEventHandler

    dragActivityFinalStep, dragActivityFirstStep, dragActivityStep, getDragActivity, getMinDragStartDistance, getMousePressedCanvasPoint, isDragging, mouseDragged, mouseReleased, setIsDragging, setMinDragStartDistance, startDragActivity, stopDragActivity

    Methods inherited from class org.piccolo2d.event.PBasicInputEventHandler

    acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseMoved, mouseWheelRotated, mouseWheelRotatedByBlock, processEvent, setEventFilter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.piccolo2d.event.PInputEventListener

    processEvent
  • Constructor Details

  • Method Details

    • 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
    • mousePressed

      public void mousePressed(org.piccolo2d.event.PInputEvent event)
      Deprecated.
      Overrides:
      mousePressed in class org.piccolo2d.event.PDragSequenceEventHandler
    • shouldStartDragInteraction

      protected boolean shouldStartDragInteraction(org.piccolo2d.event.PInputEvent event)
      Deprecated.
      Overrides:
      shouldStartDragInteraction in class org.piccolo2d.event.PDragSequenceEventHandler
    • startDrag

      protected void startDrag(org.piccolo2d.event.PInputEvent event)
      Deprecated.
      Overrides:
      startDrag in class org.piccolo2d.event.PDragSequenceEventHandler
    • drag

      protected void drag(org.piccolo2d.event.PInputEvent event)
      Deprecated.
      Overrides:
      drag in class org.piccolo2d.event.PDragSequenceEventHandler
    • endDrag

      protected void endDrag(org.piccolo2d.event.PInputEvent event)
      Deprecated.
      Overrides:
      endDrag in class org.piccolo2d.event.PDragSequenceEventHandler
    • 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