JHotDraw 7.4.1

org.jhotdraw.draw
Class QuadTreeCompositeFigure.FigureHandler

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

protected class QuadTreeCompositeFigure.FigureHandler
extends FigureAdapter
implements javax.swing.event.UndoableEditListener

Handles all figure events fired by Figures contained in the Drawing.


Constructor Summary
protected QuadTreeCompositeFigure.FigureHandler()
           
 
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)
          We propagate all edit events from our children to undoable edit listeners, which have registered with us.
 
Methods inherited from class org.jhotdraw.draw.event.FigureAdapter
attributeChanged, figureAdded, figureHandlesChanged, figureRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuadTreeCompositeFigure.FigureHandler

protected QuadTreeCompositeFigure.FigureHandler()
Method Detail

undoableEditHappened

public void undoableEditHappened(javax.swing.event.UndoableEditEvent e)
We propagate all edit events from our children to undoable edit listeners, which have registered with us.

Specified by:
undoableEditHappened in interface javax.swing.event.UndoableEditListener

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

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

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

Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.