public interface DragTracker extends Tool
SelectionTool.
Strategy
The different behavior states of the selection tool are implemented by
trackers.
Context: SelectionTool; State: DragTracker,
HandleTracker, SelectAreaTracker.
Chain of responsibility
Mouse and keyboard events of the user occur on a drawing view, and are
preprocessed by the DragTracker of a SelectionTool. DragTracker invokes "track" methods on a Handle which in turn
changes an aspect of a figure.
Client: SelectionTool; Handler: DragTracker,
Handle.
| Modifier and Type | Method and Description |
|---|---|
void |
setDraggedFigure(Figure f) |
activate, addToolListener, deactivate, draw, editCopy, editCut, editDelete, editDuplicate, editPaste, getToolTipText, removeToolListener, supportsHandleInteractionvoid setDraggedFigure(Figure f)