org.jhotdraw.samples.pert
Class PertApplicationModel.ToolButtonListener

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

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


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

PertApplicationModel.ToolButtonListener

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