All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.samples.javadraw.MySelectionTool

CH.ifa.draw.standard.AbstractTool
   |
   +----CH.ifa.draw.standard.SelectionTool
           |
           +----CH.ifa.draw.samples.javadraw.MySelectionTool

public class MySelectionTool
extends SelectionTool
A SelectionTool that interprets double clicks to inspect the clicked figure


Constructor Index

 o MySelectionTool(DrawingView)

Method Index

 o inspectFigure(Figure)
 o mouseDown(MouseEvent, int, int)
Handles mouse down events and starts the corresponding tracker.

Constructors

 o MySelectionTool
 public MySelectionTool(DrawingView view)

Methods

 o mouseDown
 public void mouseDown(MouseEvent e,
                       int x,
                       int y)
Handles mouse down events and starts the corresponding tracker.

Overrides:
mouseDown in class SelectionTool
 o inspectFigure
 protected void inspectFigure(Figure f)

All Packages  Class Hierarchy  This Package  Previous  Next  Index