Class PositionTool

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

public class PositionTool extends org.piccolo2d.event.PBasicInputEventHandler implements MapTool
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
     
    protected org.opengis.referencing.crs.CoordinateReferenceSystem
     
    protected LocationSetter
     
    protected org.opengis.referencing.operation.MathTransform
     
    protected org.opengis.referencing.crs.CoordinateReferenceSystem
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    PositionTool(org.opengis.referencing.crs.CoordinateReferenceSystem crs, LocationSetter setter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
     
     
    void
    mouseEntered(org.piccolo2d.event.PInputEvent event)
     
    void
    mouseExited(org.piccolo2d.event.PInputEvent event)
     
    void
    mouseMoved(org.piccolo2d.event.PInputEvent event)
     

    Methods inherited from class org.piccolo2d.event.PBasicInputEventHandler

    acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mousePressed, mouseReleased, mouseWheelRotated, mouseWheelRotatedByBlock, processEvent, setEventFilter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • active

      protected boolean active
    • setter

      protected LocationSetter setter
    • crs

      protected org.opengis.referencing.crs.CoordinateReferenceSystem crs
    • wgs84

      protected org.opengis.referencing.crs.CoordinateReferenceSystem wgs84
    • transform

      protected org.opengis.referencing.operation.MathTransform transform
  • Constructor Details

    • PositionTool

      public PositionTool(org.opengis.referencing.crs.CoordinateReferenceSystem crs, LocationSetter setter)
  • Method Details

    • cleanUp

      public void cleanUp()
    • mouseEntered

      public void mouseEntered(org.piccolo2d.event.PInputEvent event)
      Overrides:
      mouseEntered in class org.piccolo2d.event.PBasicInputEventHandler
    • mouseExited

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

      public void mouseMoved(org.piccolo2d.event.PInputEvent event)
      Overrides:
      mouseMoved in class org.piccolo2d.event.PBasicInputEventHandler
    • 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