org.jhotdraw.draw.action
Class ButtonFactory.ToolButtonListener

java.lang.Object
  extended by org.jhotdraw.draw.action.ButtonFactory.ToolButtonListener
All Implemented Interfaces:
java.awt.event.ItemListener, java.util.EventListener
Enclosing class:
ButtonFactory

private static class ButtonFactory.ToolButtonListener
extends java.lang.Object
implements java.awt.event.ItemListener


Field Summary
private  DrawingEditor editor
           
private  Tool tool
           
 
Constructor Summary
ButtonFactory.ToolButtonListener(Tool t, DrawingEditor editor)
           
 
Method Summary
 void itemStateChanged(java.awt.event.ItemEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tool

private Tool tool

editor

private DrawingEditor editor
Constructor Detail

ButtonFactory.ToolButtonListener

public ButtonFactory.ToolButtonListener(Tool t,
                                        DrawingEditor editor)
Method Detail

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent evt)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener