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

Constructor Index

 o ScribbleTool(DrawingView)

Method Index

 o activate()
Activates the tool for the given view.
 o deactivate()
Deactivates the tool.
 o mouseDown(MouseEvent, int, int)
Handles mouse down events in the drawing view.
 o mouseDrag(MouseEvent, int, int)
Handles mouse drag events in the drawing view.

Constructors

 o ScribbleTool
 public ScribbleTool(DrawingView view)

Methods

 o activate
 public void activate()
Activates the tool for the given view.

Overrides:
activate in class AbstractTool
 o deactivate
 public void deactivate()
Deactivates the tool.

Overrides:
deactivate in class AbstractTool
 o mouseDown
 public void mouseDown(MouseEvent e,
                       int x,
                       int y)
Handles mouse down events in the drawing view.

Overrides:
mouseDown in class AbstractTool
 o 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