public abstract class SelectTool extends DragTool implements ShortcutsDescriptor
AbstractCursorTool.Listener
Modifier and Type | Field and Description |
---|---|
protected AbstractSelection |
selection |
DEFAULT_VIEW_CLICK_BUFFER, modelDestination, modelSource
isLinuxOS, panel
Modifier | Constructor and Description |
---|---|
protected |
SelectTool(java.lang.String rendererID) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<QuasimodeTool.ModifierKeySpec,java.lang.String> |
describeShortcuts() |
protected void |
gestureFinished() |
java.awt.Cursor |
getCursor() |
javax.swing.Icon |
getIcon() |
void |
mouseClicked(java.awt.event.MouseEvent e) |
protected boolean |
selectedLayersOnly() |
deactivate, getBoxInModelCoordinates, getModelDestination, getModelSource, getShape, getShape, getViewDestination, getViewSource, modelClickBuffer, mouseDragged, mousePressed, mouseReleased, setModelDestination, setModelSource, setViewClickBuffer, setViewDestination, setViewSource, wasClick
activate, add, allowSnapping, cancelGesture, check, cleanup, clearImage, clearShape, createCursor, createCursor, drawImageXOR, drawImageXOR, drawShapeXOR, drawShapeXOR, execute, fireGestureFinished, getColor, getImage, getImagePosition, getName, getPanel, getPanel, getSnapManager, getTaskFrame, getWorkbench, getWorkbenchFrame, isGestureInProgress, isRightMouseButtonUsed, isRollingBackInvalidEdits, isShapeOnScreen, 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
getName
protected AbstractSelection selection
public java.awt.Cursor getCursor()
getCursor
in interface CursorTool
getCursor
in class AbstractCursorTool
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
mouseClicked
in class AbstractCursorTool
protected void gestureFinished() throws java.awt.geom.NoninvertibleTransformException
gestureFinished
in class AbstractCursorTool
java.awt.geom.NoninvertibleTransformException
protected boolean selectedLayersOnly()
public javax.swing.Icon getIcon()
getIcon
in interface CursorTool
public java.util.Map<QuasimodeTool.ModifierKeySpec,java.lang.String> describeShortcuts()
describeShortcuts
in interface ShortcutsDescriptor