Class NClickTool

All Implemented Interfaces:
CursorTool, MouseListener, MouseMotionListener, EventListener
Direct Known Subclasses:
DrawCircleWithGivenRadiusTool, DrawPointTool, FillPolygonTool, InsertVertexTool, NoteTool, RasterQueryCursorTool, SnapVerticesToSelectedVertexClickTool, VectorTool

public abstract class NClickTool extends MultiClickTool
Whereas a MultiClickTool looks for a double-click to end the gesture, an NClickTool looks for a certain number of points to end the gesture.
  • Constructor Details

  • Method Details

    • numClicks

      public int numClicks()
    • getModelSource

      protected org.locationtech.jts.geom.Coordinate getModelSource()
    • getModelDestination

      protected org.locationtech.jts.geom.Coordinate getModelDestination()
    • isFinishingRelease

      protected boolean isFinishingRelease(MouseEvent e)
      Overrides:
      isFinishingRelease in class MultiClickTool