Interface ToolListener
- All Known Subinterfaces:
AngleListener,CircleListener,EllipseListener,PanListener,PointListener,PolylineListener,RectangleListener
- All Known Implementing Classes:
AbstractCircleListener,AbstractPointListener,AbstractToolListener,AreaListenerImpl,BaseMapTool,MeasureListenerImpl,PanListenerImpl,PointSelectionListener,PolygonSelectionListener,RectangleSelectionListener,SelectImageListenerImpl,ZoomInListenerImpl,ZoomOutListenerImpl,ZoomOutRightButtonListener
public interface ToolListener
User can interact with a MapControl instance, working with a tool that applies changes on it
processing the events produced by the current Behavior of MapControl.
The process that the tool applies on the MapControl is a consequence of the mouse actions
that user has done on that area.
Only some tool listener can be cancelled.
- Author:
- Vicente Caballero Navarro
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines if the drawing process that this tool executes on theMapControlinstance could be canceled or not.Gets theCursorassociated to this tool.
-
Method Details
-
getImageCursor
Image getImageCursor()Gets the
Cursorassociated to this tool.- Returns:
- component with the bitmap associated to this tool
-
cancelDrawing
boolean cancelDrawing()Determines if the drawing process that this tool executes on the
MapControlinstance could be canceled or not.- Returns:
trueif is cancellable; otherwise returnsfalse
-