All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.standard.DragTracker

java.lang.Object
   |
   +----CH.ifa.draw.standard.AbstractTool
           |
           +----CH.ifa.draw.standard.DragTracker

public class DragTracker
extends AbstractTool
DragTracker implements the dragging of the clicked figure.

See Also:
SelectionTool

Constructor Index

 o DragTracker(DrawingView, Figure)

Method Index

 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 DragTracker
 public DragTracker(DrawingView view,
                    Figure anchor)

Methods

 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