Class ConstrainedNClickTool

All Implemented Interfaces:
CursorTool, MouseListener, MouseMotionListener, EventListener

public abstract class ConstrainedNClickTool extends ConstrainedMultiClickTool
  • Field Details

    • n

      protected int n
  • Constructor Details

    • ConstrainedNClickTool

      public ConstrainedNClickTool(WorkbenchContext context, int n)
  • 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 ConstrainedMultiClickTool