JHotDraw 7.0.9

org.jhotdraw.draw
Class QuadTreeDrawing.FigureHandler

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

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

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


Constructor Summary
protected QuadTreeDrawing.FigureHandler()
           
 
Method Summary
 void figureAreaInvalidated(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 figures to undoable edit listeners, which have registered with us.
 
Methods inherited from class org.jhotdraw.draw.FigureAdapter
figureAdded, figureAttributeChanged, figureHandlesChanged, figureRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuadTreeDrawing.FigureHandler

protected QuadTreeDrawing.FigureHandler()
Method Detail

undoableEditHappened

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

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

figureAreaInvalidated

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

Specified by:
figureAreaInvalidated in interface FigureListener
Overrides:
figureAreaInvalidated 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-2007 (c) JHotDraw.org.
Some rights reserved.