org.jhotdraw.draw
Class GraphicalCompositeFigure.PresentationFigureHandler

java.lang.Object
  extended by org.jhotdraw.draw.FigureAdapter
      extended by org.jhotdraw.draw.GraphicalCompositeFigure.PresentationFigureHandler
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.UndoableEditListener, FigureListener
Enclosing class:
GraphicalCompositeFigure

private static class GraphicalCompositeFigure.PresentationFigureHandler
extends FigureAdapter
implements javax.swing.event.UndoableEditListener


Field Summary
private  GraphicalCompositeFigure owner
           
 
Constructor Summary
private GraphicalCompositeFigure.PresentationFigureHandler(GraphicalCompositeFigure owner)
           
 
Method Summary
 void areaInvalidated(FigureEvent e)
          Sent when the drawing area used by the figure needs to be repainted.
 void figureChanged(FigureEvent e)
          Sent when the geometry (for example the bounds) of the figure has changed.
 void figureRequestRemove(FigureEvent e)
          Sent when the figure requests to be removed from a drawing.
 void undoableEditHappened(javax.swing.event.UndoableEditEvent e)
           
 
Methods inherited from class org.jhotdraw.draw.FigureAdapter
attributeChanged, figureAdded, figureHandlesChanged, figureRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

owner

private GraphicalCompositeFigure owner
Constructor Detail

GraphicalCompositeFigure.PresentationFigureHandler

private GraphicalCompositeFigure.PresentationFigureHandler(GraphicalCompositeFigure owner)
Method Detail

figureRequestRemove

public void figureRequestRemove(FigureEvent e)
Description copied from interface: FigureListener
Sent when the figure requests to be removed from a drawing.

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

figureChanged

public void figureChanged(FigureEvent e)
Description copied from interface: FigureListener
Sent when the geometry (for example the bounds) of the figure has changed.

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

areaInvalidated

public void areaInvalidated(FigureEvent e)
Description copied from interface: FigureListener
Sent when the drawing area used by the figure needs to be repainted.

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

undoableEditHappened

public void undoableEditHappened(javax.swing.event.UndoableEditEvent e)
Specified by:
undoableEditHappened in interface javax.swing.event.UndoableEditListener