Class AngleGeometryListener

java.lang.Object
org.gvsig.app.project.documents.view.toolListeners.AngleGeometryListener
All Implemented Interfaces:
org.gvsig.fmap.mapcontrol.tools.Listeners.AngleListener, org.gvsig.fmap.mapcontrol.tools.Listeners.PointListener, org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener

public class AngleGeometryListener extends Object implements org.gvsig.fmap.mapcontrol.tools.Listeners.AngleListener
  • Constructor Details

    • AngleGeometryListener

      public AngleGeometryListener(org.gvsig.fmap.mapcontrol.MapControl mc)
  • Method Details

    • point

      public void point(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event) throws org.gvsig.fmap.mapcontrol.tools.BehaviorException
      Specified by:
      point in interface org.gvsig.fmap.mapcontrol.tools.Listeners.PointListener
      Throws:
      org.gvsig.fmap.mapcontrol.tools.BehaviorException
    • pointDoubleClick

      public void pointDoubleClick(org.gvsig.fmap.mapcontrol.tools.Events.PointEvent event) throws org.gvsig.fmap.mapcontrol.tools.BehaviorException
      Specified by:
      pointDoubleClick in interface org.gvsig.fmap.mapcontrol.tools.Listeners.PointListener
      Throws:
      org.gvsig.fmap.mapcontrol.tools.BehaviorException
    • getImageCursor

      public Image getImageCursor()
      Specified by:
      getImageCursor in interface org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener
    • cancelDrawing

      public boolean cancelDrawing()
      Specified by:
      cancelDrawing in interface org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener
    • angle

      public double angle(org.gvsig.fmap.mapcontrol.tools.Behavior.LineGeometry line1, org.gvsig.fmap.mapcontrol.tools.Behavior.LineGeometry line2, org.gvsig.fmap.geom.primitive.Point cuadrantPoint)
      Specified by:
      angle in interface org.gvsig.fmap.mapcontrol.tools.Listeners.AngleListener