Class RectangleTool
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.ui.cursortool.AbstractCursorTool
-
- org.locationtech.jts.jump.workbench.ui.cursortool.DragTool
-
- org.locationtech.jts.jump.workbench.ui.cursortool.RectangleTool
-
- All Implemented Interfaces:
MouseListener,MouseMotionListener,EventListener,CursorTool
- Direct Known Subclasses:
DrawRectangleFenceTool,DrawRectangleTool
public abstract class RectangleTool extends DragTool
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.locationtech.jts.jump.workbench.ui.cursortool.AbstractCursorTool
AbstractCursorTool.Listener
-
-
Field Summary
-
Fields inherited from class org.locationtech.jts.jump.workbench.ui.cursortool.DragTool
DEFAULT_VIEW_CLICK_BUFFER, modelDestination, modelSource
-
-
Constructor Summary
Constructors Constructor Description RectangleTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.locationtech.jts.geom.PolygongetRectangle()protected voidsetModelDestination(org.locationtech.jts.geom.Coordinate modelDestination)protected voidsetModelSource(org.locationtech.jts.geom.Coordinate modelSource)-
Methods inherited from class org.locationtech.jts.jump.workbench.ui.cursortool.DragTool
getBoxInModelCoordinates, getModelDestination, getModelSource, getShape, getShape, getViewDestination, getViewSource, modelClickBuffer, mouseDragged, mousePressed, mouseReleased, setViewClickBuffer, setViewDestination, setViewSource, wasClick
-
Methods inherited from class org.locationtech.jts.jump.workbench.ui.cursortool.AbstractCursorTool
activate, add, allowSnapping, cancelGesture, check, cleanup, clearShape, createCursor, createCursor, createStandardSnappingPolicies, deactivate, drawShapeXOR, drawShapeXOR, execute, fireGestureFinished, gestureFinished, getColor, getCursor, getName, getPanel, getSnapManager, getTaskFrame, getWorkbench, isGestureInProgress, isRightMouseButtonUsed, isRollingBackInvalidEdits, isShapeOnScreen, mouseClicked, mouseEntered, mouseExited, mouseMoved, 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
-
Methods inherited from interface org.locationtech.jts.jump.workbench.ui.cursortool.CursorTool
getIcon
-
-
-
-
Method Detail
-
getRectangle
protected org.locationtech.jts.geom.Polygon getRectangle() throws NoninvertibleTransformException- Throws:
NoninvertibleTransformException
-
setModelDestination
protected void setModelDestination(org.locationtech.jts.geom.Coordinate modelDestination)
- Overrides:
setModelDestinationin classDragTool
-
setModelSource
protected void setModelSource(org.locationtech.jts.geom.Coordinate modelSource)
- Overrides:
setModelSourcein classDragTool
-
-