Interface PointListener

All Superinterfaces:
ToolListener
All Known Subinterfaces:
AngleListener
All Known Implementing Classes:
AbstractPointListener, BaseMapTool, PointSelectionListener, SelectImageListenerImpl, ZoomOutListenerImpl, ZoomOutRightButtonListener

public interface PointListener extends ToolListener

Interface for all tools that reply for a PointEvent produced in the associated MapControl object, produced by a simple or double click of a button of the mouse.

Author:
Vicente Caballero Navarro
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when one click is pressed on the associated MapControl, or the location of the cursor of the mouse has changed on it.
    void
    Called when a double click is pressed on the associated MapControl.

    Methods inherited from interface org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener

    cancelDrawing, getImageCursor
  • Method Details

    • point

      void point(PointEvent event) throws BehaviorException

      Called when one click is pressed on the associated MapControl, or the location of the cursor of the mouse has changed on it.

      Parameters:
      event - mouse event with the coordinates of the point selected on the associated MapControl
      Throws:
      BehaviorException - will be thrown when fails the process of this tool
    • pointDoubleClick

      void pointDoubleClick(PointEvent event) throws BehaviorException

      Called when a double click is pressed on the associated MapControl.

      Parameters:
      event - mouse event and the coordinates of the point selected on the associated MapControl
      Throws:
      BehaviorException - will be thrown when fails the process of this tool