public abstract class VectorTool extends NClickTool
AbstractCursorTool.Listener| Modifier and Type | Field and Description |
|---|---|
protected com.vividsolutions.jts.geom.GeometryFactory |
geometryFactory |
| Constructor and Description |
|---|
VectorTool() |
| Modifier and Type | Method and Description |
|---|---|
protected UndoableCommand |
createCommand() |
protected abstract AbstractVectorLayerFinder |
createVectorLayerFinder(LayerManagerProxy layerManagerProxy) |
protected Feature |
feature(com.vividsolutions.jts.geom.LineString lineString,
Layer layer,
UndoableCommand command) |
protected void |
gestureFinished() |
protected Shape |
getShape(Point2D source,
Point2D destination) |
protected com.vividsolutions.jts.geom.LineString |
lineString(com.vividsolutions.jts.geom.Coordinate source,
com.vividsolutions.jts.geom.Coordinate destination) |
getModelDestination, getModelSource, isFinishingReleaseadd, cancelGesture, finishGesture, getCoordinates, getShape, mouseDragged, mouseLocationChanged, mouseMoved, mousePressed, mouseReleased, toArrayactivate, 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, workbenchFrameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIconprotected Feature feature(com.vividsolutions.jts.geom.LineString lineString, Layer layer, UndoableCommand command)
protected com.vividsolutions.jts.geom.LineString lineString(com.vividsolutions.jts.geom.Coordinate source,
com.vividsolutions.jts.geom.Coordinate destination)
throws NoninvertibleTransformException
NoninvertibleTransformExceptionprotected abstract AbstractVectorLayerFinder createVectorLayerFinder(LayerManagerProxy layerManagerProxy)
protected void gestureFinished()
throws Exception
gestureFinished in class AbstractCursorToolExceptionprotected UndoableCommand createCommand() throws NoninvertibleTransformException
NoninvertibleTransformExceptionCopyright © 2015. All rights reserved.