CH.ifa.draw.standard
Class HandleTracker

java.lang.Object
  extended by CH.ifa.draw.standard.AbstractTool
      extended by CH.ifa.draw.standard.HandleTracker
All Implemented Interfaces:
Tool

public class HandleTracker
extends AbstractTool

HandleTracker implements interactions with the handles of a Figure.

See Also:
SelectionTool

Field Summary
 
Fields inherited from class CH.ifa.draw.standard.AbstractTool
fAnchorX, fAnchorY, fView
 
Constructor Summary
HandleTracker(DrawingView view, Handle anchorHandle)
           
 
Method Summary
 void mouseDown(java.awt.event.MouseEvent e, int x, int y)
          Handles mouse down events in the drawing view.
 void mouseDrag(java.awt.event.MouseEvent e, int x, int y)
          Handles mouse drag events in the drawing view.
 void mouseUp(java.awt.event.MouseEvent e, int x, int y)
          Handles mouse up in the drawing view.
 
Methods inherited from class CH.ifa.draw.standard.AbstractTool
activate, deactivate, drawing, editor, keyDown, mouseMove, view
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandleTracker

public HandleTracker(DrawingView view,
                     Handle anchorHandle)
Method Detail

mouseDown

public void mouseDown(java.awt.event.MouseEvent e,
                      int x,
                      int y)
Description copied from class: AbstractTool
Handles mouse down events in the drawing view.

Specified by:
mouseDown in interface Tool
Overrides:
mouseDown in class AbstractTool

mouseDrag

public void mouseDrag(java.awt.event.MouseEvent e,
                      int x,
                      int y)
Description copied from class: AbstractTool
Handles mouse drag events in the drawing view.

Specified by:
mouseDrag in interface Tool
Overrides:
mouseDrag in class AbstractTool

mouseUp

public void mouseUp(java.awt.event.MouseEvent e,
                    int x,
                    int y)
Description copied from class: AbstractTool
Handles mouse up in the drawing view.

Specified by:
mouseUp in interface Tool
Overrides:
mouseUp in class AbstractTool