All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.figures.ScribbleTool
java.lang.Object
|
+----CH.ifa.draw.standard.AbstractTool
|
+----CH.ifa.draw.figures.ScribbleTool
- public class ScribbleTool
- extends AbstractTool
Tool to scribble a PolyLineFigure
- See Also:
- PolyLineFigure
-
ScribbleTool(DrawingView)
-
-
activate()
- Activates the tool for the given view.
-
deactivate()
- Deactivates the tool.
-
mouseDown(MouseEvent, int, int)
- Handles mouse down events in the drawing view.
-
mouseDrag(MouseEvent, int, int)
- Handles mouse drag events in the drawing view.
ScribbleTool
public ScribbleTool(DrawingView view)
activate
public void activate()
- Activates the tool for the given view.
- Overrides:
- activate in class AbstractTool
deactivate
public void deactivate()
- Deactivates the tool.
- Overrides:
- deactivate in class AbstractTool
mouseDown
public void mouseDown(MouseEvent e,
int x,
int y)
- Handles mouse down events in the drawing view.
- Overrides:
- mouseDown in class AbstractTool
mouseDrag
public void mouseDrag(MouseEvent e,
int x,
int y)
- Handles mouse drag events in the drawing view.
- Overrides:
- mouseDrag in class AbstractTool
All Packages Class Hierarchy This Package Previous Next Index