org.jhotdraw.samples.svg.gui
Class ToolsToolBar.SelectionToolButtonHandler

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by org.jhotdraw.samples.svg.gui.ToolsToolBar.SelectionToolButtonHandler
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener
Enclosing class:
ToolsToolBar

private static class ToolsToolBar.SelectionToolButtonHandler
extends java.awt.event.MouseAdapter


Field Summary
private  DrawingEditor editor
           
private  boolean wasSelectedOnPressed
           
 
Constructor Summary
ToolsToolBar.SelectionToolButtonHandler(DrawingEditor editor)
           
 
Method Summary
 void mouseClicked(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 
Methods inherited from class java.awt.event.MouseAdapter
mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, mouseWheelMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

editor

private DrawingEditor editor

wasSelectedOnPressed

private boolean wasSelectedOnPressed
Constructor Detail

ToolsToolBar.SelectionToolButtonHandler

public ToolsToolBar.SelectionToolButtonHandler(DrawingEditor editor)
Method Detail

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Specified by:
mouseClicked in interface java.awt.event.MouseListener
Overrides:
mouseClicked in class java.awt.event.MouseAdapter

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener
Overrides:
mousePressed in class java.awt.event.MouseAdapter