org.jhotdraw.samples.javadraw
Class MySelectionTool

java.lang.Object
  extended by org.jhotdraw.standard.AbstractTool
      extended by org.jhotdraw.standard.SelectionTool
          extended by org.jhotdraw.samples.javadraw.MySelectionTool
All Implemented Interfaces:
Tool

public class MySelectionTool
extends SelectionTool

A SelectionTool that interprets double clicks to inspect the clicked figure

Version:
<$CURRENT_VERSION$>

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jhotdraw.standard.AbstractTool
AbstractTool.EventDispatcher
 
Constructor Summary
MySelectionTool(DrawingEditor newDrawingEditor)
           
 
Method Summary
 void mouseDown(java.awt.event.MouseEvent e, int x, int y)
          Handles mouse down events and starts the corresponding tracker.
 
Methods inherited from class org.jhotdraw.standard.SelectionTool
mouseDrag, mouseMove, mouseUp
 
Methods inherited from class org.jhotdraw.standard.AbstractTool
activate, addToolListener, deactivate, drawing, editor, getActiveDrawing, getActiveView, getUndoActivity, isActive, isEnabled, isUsable, keyDown, removeToolListener, setEnabled, setUndoActivity, setUsable, view
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MySelectionTool

public MySelectionTool(DrawingEditor newDrawingEditor)
Method Detail

mouseDown

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

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