org.jhotdraw.samples.net
Class NetApplicationModel.ToolButtonListener

java.lang.Object
  extended by org.jhotdraw.samples.net.NetApplicationModel.ToolButtonListener
All Implemented Interfaces:
java.awt.event.ItemListener, java.util.EventListener
Enclosing class:
NetApplicationModel

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


Field Summary
private  DrawingEditor editor
           
private  Tool tool
           
 
Constructor Summary
NetApplicationModel.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

NetApplicationModel.ToolButtonListener

public NetApplicationModel.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