public class EditDelineationTool extends DragTool
AbstractCursorTool.ListenerDEFAULT_VIEW_CLICK_BUFFER, modelDestination, modelSource| Constructor and Description |
|---|
EditDelineationTool(Collection snapPolicies) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
gestureFinished() |
Cursor |
getCursor() |
Icon |
getIcon() |
protected Shape |
getShape(Point2D source,
Point2D destination) |
void |
mousePressed(MouseEvent e)
Begins handling of the drag.
|
getBoxInModelCoordinates, getModelDestination, getModelSource, getShape, getViewDestination, getViewSource, modelClickBuffer, mouseDragged, mouseReleased, setModelDestination, setModelSource, setViewClickBuffer, setViewDestination, setViewSource, wasClickactivate, add, allowSnapping, cancelGesture, check, cleanup, clearShape, createCursor, createCursor, createStandardSnappingPolicies, deactivate, drawShapeXOR, drawShapeXOR, execute, fireGestureFinished, getColor, 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, workbenchFramepublic EditDelineationTool(Collection snapPolicies)
public Icon getIcon()
public Cursor getCursor()
getCursor in interface CursorToolgetCursor in class AbstractCursorToolpublic void mousePressed(MouseEvent e)
DragToolmousePressed in interface MouseListenermousePressed in class DragToolprotected Shape getShape(Point2D source, Point2D destination) throws NoninvertibleTransformException
getShape in class DragToolNoninvertibleTransformExceptionprotected void gestureFinished()
throws Exception
gestureFinished in class AbstractCursorToolExceptionCopyright © 2015. All rights reserved.