public abstract class RectangleTool extends DragTool
AbstractCursorTool.Listener
DEFAULT_VIEW_CLICK_BUFFER, modelDestination, modelSource
isLinuxOS, panel
Constructor and Description |
---|
RectangleTool() |
Modifier and Type | Method and Description |
---|---|
protected com.vividsolutions.jts.geom.Polygon |
getRectangle() |
protected void |
setModelDestination(com.vividsolutions.jts.geom.Coordinate modelDestination) |
protected void |
setModelSource(com.vividsolutions.jts.geom.Coordinate modelSource) |
deactivate, getBoxInModelCoordinates, getModelDestination, getModelSource, getShape, getShape, getViewDestination, getViewSource, modelClickBuffer, mouseDragged, mousePressed, mouseReleased, setViewClickBuffer, setViewDestination, setViewSource, wasClick
activate, add, allowSnapping, cancelGesture, 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, mouseMoved, 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 getRectangle() throws java.awt.geom.NoninvertibleTransformException
java.awt.geom.NoninvertibleTransformException
protected void setModelDestination(com.vividsolutions.jts.geom.Coordinate modelDestination)
setModelDestination
in class DragTool
protected void setModelSource(com.vividsolutions.jts.geom.Coordinate modelSource)
setModelSource
in class DragTool