Class AbstractToolListener

java.lang.Object
org.gvsig.fmap.mapcontrol.tools.Listeners.AbstractToolListener
All Implemented Interfaces:
ToolListener
Direct Known Subclasses:
AbstractPointListener

public abstract class AbstractToolListener extends Object implements ToolListener
  • Constructor Details

    • AbstractToolListener

      public AbstractToolListener()
  • Method Details

    • cancelDrawing

      public boolean cancelDrawing()
      Description copied from interface: ToolListener

      Determines if the drawing process that this tool executes on the MapControl instance could be canceled or not.

      Specified by:
      cancelDrawing in interface ToolListener
      Returns:
      true if is cancellable; otherwise returns false
    • getImageCursor

      public Image getImageCursor()
      Description copied from interface: ToolListener

      Gets the Cursor associated to this tool.

      Specified by:
      getImageCursor in interface ToolListener
      Returns:
      component with the bitmap associated to this tool