public abstract class PolygonTool extends MultiClickTool
AbstractCursorTool.Listener
mouseLastLoc
isLinuxOS, panel
Constructor and Description |
---|
PolygonTool() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkPolygon() |
protected com.vividsolutions.jts.geom.Polygon |
getPolygon()
Callers should check whether the polygon returned is valid.
|
activate, add, cancelGesture, deactivate, finishGesture, getCoordinates, getMetrics, getShape, isFinishingRelease, mouseDragged, mouseLocationChanged, mouseMoved, mousePressed, mouseReleased, setCloseRing, setMetricsDisplay, toArray
add, allowSnapping, check, cleanup, clearImage, clearShape, createCursor, createCursor, drawImageXOR, drawImageXOR, drawShapeXOR, drawShapeXOR, execute, fireGestureFinished, gestureFinished, getColor, getCursor, getImage, getImagePosition, getName, getPanel, getPanel, getSnapManager, getTaskFrame, getWorkbench, getWorkbenchFrame, isGestureInProgress, isRightMouseButtonUsed, isRollingBackInvalidEdits, isShapeOnScreen, mouseClicked, mouseEntered, mouseExited, name, prohibitSnapping, redrawImage, redrawShape, reportNothingToUndoYet, setColor, setFilling, setPanel, setStroke, setStrokeWidth, setup, snap, snap, supportsSnapping, toString, wasControlPressed, wasShiftPressed, workbench, workbenchFrame
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIcon
protected com.vividsolutions.jts.geom.Polygon getPolygon() throws java.awt.geom.NoninvertibleTransformException
java.awt.geom.NoninvertibleTransformException
protected boolean checkPolygon() throws java.awt.geom.NoninvertibleTransformException
java.awt.geom.NoninvertibleTransformException