public class SnapVerticesTool extends SpecifyFeaturesTool
AbstractCursorTool.ListenerDEFAULT_VIEW_CLICK_BUFFER, modelDestination, modelSource| Constructor and Description |
|---|
SnapVerticesTool(EnableCheckFactory checkFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
gestureFinished() |
protected com.vividsolutions.jts.geom.Envelope |
getBoxInModelCoordinates() |
Cursor |
getCursor() |
Icon |
getIcon() |
protected Shape |
getShape() |
protected void |
snapVertices(Collection editableLayers,
com.vividsolutions.jts.geom.Coordinate suggestedTarget,
Feature targetFeature) |
candidateLayersIterator, layerToSpecifiedFeaturesMap, layerToSpecifiedFeaturesMap, mouseClicked, specifiedFeatures, specifiedFeaturesgetModelDestination, getModelSource, getShape, getViewDestination, getViewSource, modelClickBuffer, mouseDragged, mousePressed, mouseReleased, setModelDestination, setModelSource, setViewClickBuffer, setViewDestination, setViewSource, wasClickactivate, add, allowSnapping, cancelGesture, check, cleanup, clearShape, createCursor, createCursor, createStandardSnappingPolicies, deactivate, drawShapeXOR, drawShapeXOR, execute, fireGestureFinished, getColor, getName, getPanel, getSnapManager, getTaskFrame, getWorkbench, isGestureInProgress, isRightMouseButtonUsed, isRollingBackInvalidEdits, isShapeOnScreen, mouseEntered, mouseExited, mouseMoved, name, redrawShape, reportNothingToUndoYet, setColor, setFilling, setStroke, setStrokeWidth, setup, snap, snap, toString, wasControlPressed, wasShiftPressed, workbench, workbenchFramepublic SnapVerticesTool(EnableCheckFactory checkFactory)
protected void gestureFinished()
throws Exception
gestureFinished in class AbstractCursorToolExceptionprotected void snapVertices(Collection editableLayers, com.vividsolutions.jts.geom.Coordinate suggestedTarget, Feature targetFeature) throws Exception, NoninvertibleTransformException
public Icon getIcon()
public Cursor getCursor()
getCursor in interface CursorToolgetCursor in class AbstractCursorToolprotected com.vividsolutions.jts.geom.Envelope getBoxInModelCoordinates()
throws NoninvertibleTransformException
getBoxInModelCoordinates in class DragToolNoninvertibleTransformExceptionCopyright © 2015. All rights reserved.