org.gvsig.fmap.mapcontrol.tools.Listeners
Class AbstractToolListener

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

public abstract class AbstractToolListener
extends java.lang.Object
implements ToolListener


Constructor Summary
AbstractToolListener()
           
 
Method Summary
 boolean cancelDrawing()
          Determines if the drawing process that this tool executes on the MapControl instance could be canceled or not.
 java.awt.Image getImageCursor()
          Gets the Cursor associated to this tool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractToolListener

public AbstractToolListener()
Method Detail

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 java.awt.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


Copyright © 2014 gvSIG Association. All Rights Reserved.