com.vividsolutions.jump.workbench.ui.cursortool
Class NClickTool

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool
      extended by com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool
          extended by com.vividsolutions.jump.workbench.ui.cursortool.NClickTool
All Implemented Interfaces:
CursorTool, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener
Direct Known Subclasses:
CreateDelineationTool, DrawPointTool, InsertVertexTool, NoteTool, 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool
AbstractCursorTool.Listener
 
Constructor Summary
NClickTool(int n)
           
 
Method Summary
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool
cancelGesture, getCoordinates, mouseDragged, mouseMoved, mousePressed, mouseReleased
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool
activate, add, allowSnapping, createCursor, createCursor, createStandardSnappingPolicies, deactivate, getColor, getCursor, getName, getSnapManager, getWorkbench, isGestureInProgress, isRightMouseButtonUsed, isShapeOnScreen, mouseClicked, mouseEntered, mouseExited, name, setColor, toString, workbench, workbenchFrame
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.vividsolutions.jump.workbench.ui.cursortool.CursorTool
getIcon
 

Constructor Detail

NClickTool

public NClickTool(int n)