com.vividsolutions.jump.workbench.ui.cursortool.editing
Class SnapVerticesToSelectedVertexClickTool

java.lang.Object
  extended bycom.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool
      extended bycom.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool
          extended bycom.vividsolutions.jump.workbench.ui.cursortool.NClickTool
              extended bycom.vividsolutions.jump.workbench.ui.cursortool.editing.SnapVerticesToSelectedVertexClickTool
All Implemented Interfaces:
CursorTool, java.util.EventListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener

public class SnapVerticesToSelectedVertexClickTool
extends NClickTool


Nested Class Summary
 
Nested classes inherited from class com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool
AbstractCursorTool.Listener
 
Constructor Summary
SnapVerticesToSelectedVertexClickTool(EnableCheckFactory checkFactory)
           
 
Method Summary
protected  void gestureFinished()
           
 javax.swing.Icon getIcon()
           
protected  java.awt.Shape getShape()
           
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.cursortool.NClickTool
getModelDestination, getModelSource, isFinishingRelease
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool
add, cancelGesture, finishGesture, getCoordinates, getMetrics, mouseDragged, mouseLocationChanged, mouseMoved, mousePressed, mouseReleased, setCloseRing, setMetricsDisplay, toArray
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool
activate, add, allowSnapping, check, cleanup, clearShape, createCursor, createCursor, createStandardSnappingPolicies, deactivate, drawShapeXOR, drawShapeXOR, execute, fireGestureFinished, getColor, getCursor, getName, getPanel, getSnapManager, getTaskFrame, getWorkbench, isGestureInProgress, isRightMouseButtonUsed, isRollingBackInvalidEdits, isShapeOnScreen, mouseClicked, mouseEntered, mouseExited, name, redrawShape, reportNothingToUndoYet, setColor, setFilling, setStroke, setStrokeWidth, setup, snap, snap, toString, wasControlPressed, wasShiftPressed, workbench, workbenchFrame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SnapVerticesToSelectedVertexClickTool

public SnapVerticesToSelectedVertexClickTool(EnableCheckFactory checkFactory)
Method Detail

getIcon

public javax.swing.Icon getIcon()
Returns:
null to use a default icon

gestureFinished

protected void gestureFinished()
                        throws java.lang.Exception
Specified by:
gestureFinished in class AbstractCursorTool
Throws:
java.lang.Exception

getShape

protected java.awt.Shape getShape()
                           throws java.awt.geom.NoninvertibleTransformException
Overrides:
getShape in class MultiClickTool
Throws:
java.awt.geom.NoninvertibleTransformException