JHotDraw 7.4.1

org.jhotdraw.draw
Class AbstractCompositeFigure.EventHandler

java.lang.Object
  extended by org.jhotdraw.draw.event.FigureAdapter
      extended by org.jhotdraw.draw.AbstractCompositeFigure.EventHandler
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.swing.event.UndoableEditListener, FigureListener
Direct Known Subclasses:
QuadTreeDrawing.QuadTreeEventHandler
Enclosing class:
AbstractCompositeFigure

protected class AbstractCompositeFigure.EventHandler
extends FigureAdapter
implements javax.swing.event.UndoableEditListener, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
protected AbstractCompositeFigure.EventHandler()
           
 
Method Summary
 void areaInvalidated(FigureEvent e)
          Sent when the drawing area used by the figure needs to be repainted.
 void attributeChanged(FigureEvent e)
          Sent when an attribute of the figure has changed.
 void figureAdded(FigureEvent e)
          Sent when a figure was added to a drawing.
 void figureChanged(FigureEvent e)
          Sent when the geometry (for example the bounds) of the figure has changed.
 void figureRemoved(FigureEvent e)
          Sent when a figure was removed from a drawing.
 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.event.FigureAdapter
figureHandlesChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCompositeFigure.EventHandler

protected AbstractCompositeFigure.EventHandler()
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

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

figureAdded

public void figureAdded(FigureEvent e)
Description copied from interface: FigureListener
Sent when a figure was added to a drawing.

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

figureRemoved

public void figureRemoved(FigureEvent e)
Description copied from interface: FigureListener
Sent when a figure was removed from a drawing.

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

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