Class PGISPanTool

java.lang.Object
org.piccolo2d.event.PBasicInputEventHandler
org.piccolo2d.event.PDragSequenceEventHandler
org.piccolo2d.event.PPanEventHandler
repast.simphony.gis.tools.PGISPanTool
All Implemented Interfaces:
EventListener, org.piccolo2d.event.PInputEventListener, MapTool

public class PGISPanTool extends org.piccolo2d.event.PPanEventHandler implements MapTool
  • Constructor Summary

    Constructors
    Constructor
    Description
    PGISPanTool(org.geotools.map.MapContent context, PGISCanvas canvas)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    protected void
    endDrag(org.piccolo2d.event.PInputEvent e)
     
     

    Methods inherited from class org.piccolo2d.event.PPanEventHandler

    drag, dragActivityStep, getAutopan, getMaxAutoPanSpeed, getMinAutoPanSpeed, pan, setAutopan, setMaxAutopanSpeed, setMinAutopanSpeed, validatePanningSpeed

    Methods inherited from class org.piccolo2d.event.PDragSequenceEventHandler

    dragActivityFinalStep, dragActivityFirstStep, getDragActivity, getMinDragStartDistance, getMousePressedCanvasPoint, isDragging, mouseDragged, mousePressed, mouseReleased, setIsDragging, setMinDragStartDistance, shouldStartDragInteraction, startDrag, 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
  • Constructor Details

    • PGISPanTool

      public PGISPanTool(org.geotools.map.MapContent context, PGISCanvas canvas)
  • Method Details

    • endDrag

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

      public void activate(PiccoloMapPanel panel)
      Specified by:
      activate in interface MapTool
    • deactivate

      public void deactivate()
      Specified by:
      deactivate in interface MapTool
    • getCursor

      public Cursor getCursor()
      Specified by:
      getCursor in interface MapTool