|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.standard.AbstractTool
org.jhotdraw.standard.SelectionTool
org.jhotdraw.samples.javadraw.MySelectionTool
A SelectionTool that interprets double clicks to inspect the clicked figure
Nested Class Summary |
Nested classes inherited from class org.jhotdraw.standard.AbstractTool |
AbstractTool.EventDispatcher |
Constructor Summary | |
MySelectionTool(DrawingEditor newDrawingEditor)
|
Method Summary | |
protected void |
inspectFigure(Figure f)
|
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 |
createAreaTracker, createDragTracker, createHandleTracker, getDelegateTool, mouseDrag, mouseMove, mouseUp, setDelegateTool |
Methods inherited from class org.jhotdraw.standard.AbstractTool |
activate, addToolListener, checkUsable, createEventDispatcher, createViewChangeListener, deactivate, drawing, editor, getActiveDrawing, getActiveView, getAnchorX, getAnchorY, getEventDispatcher, getUndoActivity, isActive, isEnabled, isUsable, keyDown, removeToolListener, setAnchorX, setAnchorY, setEditor, setEnabled, setUndoActivity, setUsable, setView, view, viewCreated, viewDestroying, viewSelectionChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MySelectionTool(DrawingEditor newDrawingEditor)
Method Detail |
public void mouseDown(java.awt.event.MouseEvent e, int x, int y)
mouseDown
in interface Tool
mouseDown
in class SelectionTool
protected void inspectFigure(Figure f)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |