Class PositionTool

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

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

      • active

        protected boolean active
      • 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 Detail

      • PositionTool

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

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

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