public class MoveSelectedItemsTool extends DragTool
AbstractCursorTool.ListenerDEFAULT_VIEW_CLICK_BUFFER, modelDestination, modelSource| Constructor and Description |
|---|
MoveSelectedItemsTool(EnableCheckFactory checkFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
gestureFinished() |
Cursor |
getCursor() |
Icon |
getIcon() |
protected Shape |
getShape() |
void |
mousePressed(MouseEvent e)
Begins handling of the drag.
|
protected void |
setModelDestination(com.vividsolutions.jts.geom.Coordinate modelDestination) |
getBoxInModelCoordinates, getModelDestination, getModelSource, getShape, getViewDestination, getViewSource, modelClickBuffer, mouseDragged, mouseReleased, 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 MoveSelectedItemsTool(EnableCheckFactory checkFactory)
protected void gestureFinished()
throws Exception
gestureFinished in class AbstractCursorToolExceptionpublic Cursor getCursor()
getCursor in interface CursorToolgetCursor in class AbstractCursorToolpublic Icon getIcon()
public void mousePressed(MouseEvent e)
DragToolmousePressed in interface MouseListenermousePressed in class DragToolprotected void setModelDestination(com.vividsolutions.jts.geom.Coordinate modelDestination)
setModelDestination in class DragToolCopyright © 2015. All rights reserved.