org.jhotdraw.samples.pert.figures
Class TaskFigure.NameAdapter

java.lang.Object
  extended by org.jhotdraw.draw.FigureAdapter
      extended by org.jhotdraw.samples.pert.figures.TaskFigure.NameAdapter
All Implemented Interfaces:
java.util.EventListener, FigureListener
Enclosing class:
TaskFigure

private static class TaskFigure.NameAdapter
extends FigureAdapter

This adapter is used, to connect a TextFigure with the name of the TaskFigure model.


Field Summary
private  TaskFigure target
           
 
Constructor Summary
TaskFigure.NameAdapter(TaskFigure target)
           
 
Method Summary
 void attributeChanged(FigureEvent e)
          Sent when an attribute of the figure has changed.
 
Methods inherited from class org.jhotdraw.draw.FigureAdapter
areaInvalidated, figureAdded, figureChanged, figureHandlesChanged, figureRemoved, figureRequestRemove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

private TaskFigure target
Constructor Detail

TaskFigure.NameAdapter

public TaskFigure.NameAdapter(TaskFigure target)
Method Detail

attributeChanged

public void attributeChanged(FigureEvent e)
Description copied from interface: FigureListener
Sent when an attribute of the figure has changed.

Specified by:
attributeChanged in interface FigureListener
Overrides:
attributeChanged in class FigureAdapter