All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.contrib.xcomp.SpecialSelectionTool
CH.ifa.draw.standard.AbstractTool
|
+----CH.ifa.draw.standard.SelectionTool
|
+----CH.ifa.draw.contrib.xcomp.SpecialSelectionTool
- public class SpecialSelectionTool
- extends SelectionTool
Tool to select and manipulate figures.
A selection tool is in one of three states, e.g., background
selection, figure selection, handle manipulation. The different
states are handled by different child tools.
Design Patterns
State
SelectionTool is the StateContext and child is the State.
The SelectionTool delegates state specific
behavior to its current child tool.
-
SpecialSelectionTool(DrawingView)
-
-
mouseDown(MouseEvent, int, int)
- Handles mouse down events and starts the corresponding tracker.
SpecialSelectionTool
public SpecialSelectionTool(DrawingView view)
mouseDown
public void mouseDown(MouseEvent e,
int x,
int y)
- Handles mouse down events and starts the corresponding tracker.
- Overrides:
- mouseDown in class SelectionTool
All Packages Class Hierarchy This Package Previous Next Index