Interface CursorTool

All Superinterfaces:
EventListener, MouseListener, MouseMotionListener
All Known Implementing Classes:
AbstractClickSelectedLineStringsTool, AbstractCursorTool, AbstractDeleteVectorTool, AbstractZoomTool, AdvancedMeasureTool, AndCompositeTool, AutoCompletePolygonCursorTool, CompositeTool, ConstrainedDragTool, ConstrainedMoveVertexTool, ConstrainedMultiClickArcTool, ConstrainedMultiClickTool, ConstrainedNClickTool, ConstrainedNClickTool, ConstrainedPolygonTool, CutFeaturesTool, CutPolygonTool, DelegatingTool, DeleteIncrementalWarpingVectorTool, DeleteVertexTool, DeleteWarpingVectorTool, DragTool, DrawCircleWithGivenRadiusTool, DrawConstrainedArcTool, DrawConstrainedCircleTool, DrawConstrainedLineStringTool, DrawConstrainedPolygonTool, DrawCustomTool, DrawFenceTool, DrawIncrementalWarpingVectorTool, DrawLineStringTool, DrawPointTool, DrawPolygonFenceTool, DrawPolygonTool, DrawRectangleFenceTool, DrawRectangleTool, DrawWarpingVectorTool, DummyTool, FeatureInfoTool, FillPolygonTool, InsertVertexTool, LeftClickFilter, MeasureM_FTool, MeasureTool, MoveSelectedItemsTool, MoveVertexTool, MultiClickTool, NClickTool, NodeLineStringsTool, NoteTool, OrCompositeTool, PanTool, PolygonTool, ProfileGraphTool, QuasimodeTool, RasterQueryCursorTool, RasterQueryDragTool, RectangleTool, RemodelerTool, RotateSelectedItemTool, ScaleSelectedItemsTool, SelectFeaturesTool, SelectItemsByCircleTool, SelectLineStringsTool, SelectMultiItemsTool, SelectOneItemTool, SelectPartsTool, SelectTool, SnapIndicatorTool, SnapVerticesTool, SnapVerticesToSelectedVertexClickTool, SnapVerticesToSelectedVertexTool, SpecifyFeaturesTool, SplitLineStringTool, SuperZoomPanTool, VectorTool, ZoomRealtimeTool, ZoomTool

public interface CursorTool extends MouseListener, MouseMotionListener
  • Method Details

    • getCursor

      Cursor getCursor()
    • getIcon

      Icon getIcon()
      Returns:
      null to use a default icon
    • activate

      void activate(LayerViewPanel layerViewPanel)
    • deactivate

      void deactivate()
    • isRightMouseButtonUsed

      boolean isRightMouseButtonUsed()
      Returns:
      true if this CursorTool uses the right mouse button; false to allow the panel to show a popup-menu on right-clicks
    • isGestureInProgress

      boolean isGestureInProgress()
    • cancelGesture

      void cancelGesture()
      Notifies the CursorTool that a party is requesting that the gesture currently in progress be aborted.
    • getName

      String getName()
      Returns a very brief description of this CursorTool.
      Returns:
      the name of this CursorTool