public class DrawLineStringTool extends MultiClickTool
AbstractCursorTool.Listener| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkLineString() |
static CursorTool |
create(LayerNamePanelProxy layerNamePanelProxy) |
protected void |
gestureFinished() |
Icon |
getIcon() |
protected com.vividsolutions.jts.geom.LineString |
getLineString() |
String |
getName()
Returns a very brief description of this CursorTool.
|
add, cancelGesture, finishGesture, getCoordinates, getShape, isFinishingRelease, mouseDragged, mouseLocationChanged, mouseMoved, mousePressed, mouseReleased, toArrayactivate, add, allowSnapping, check, cleanup, clearShape, createCursor, createCursor, createStandardSnappingPolicies, deactivate, drawShapeXOR, drawShapeXOR, execute, fireGestureFinished, getColor, getCursor, 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, workbenchFramepublic static CursorTool create(LayerNamePanelProxy layerNamePanelProxy)
public String getName()
CursorToolgetName in interface CursorToolgetName in class AbstractCursorToolpublic Icon getIcon()
protected void gestureFinished()
throws Exception
gestureFinished in class AbstractCursorToolExceptionprotected com.vividsolutions.jts.geom.LineString getLineString()
throws NoninvertibleTransformException
NoninvertibleTransformExceptionprotected boolean checkLineString()
throws NoninvertibleTransformException
NoninvertibleTransformExceptionCopyright © 2015. All rights reserved.