JHotDraw 7.2

org.jhotdraw.samples.svg.gui
Class DrawingComponentRepainter

java.lang.Object
  extended by org.jhotdraw.draw.FigureAdapter
      extended by org.jhotdraw.samples.svg.gui.DrawingComponentRepainter
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener, FigureListener

public class DrawingComponentRepainter
extends FigureAdapter
implements java.beans.PropertyChangeListener

Calls repaint on components, which show attributes of a drawing object on the current view of the editor.

Author:
Werner Randelshofer  @version 1.0 23.05.2008 Created.

Constructor Summary
DrawingComponentRepainter(DrawingEditor editor, javax.swing.JComponent component)
           
 
Method Summary
 void attributeChanged(FigureEvent evt)
          Sent when an attribute of the figure has changed.
 void dispose()
           
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
 
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
 

Constructor Detail

DrawingComponentRepainter

public DrawingComponentRepainter(DrawingEditor editor,
                                 javax.swing.JComponent component)
Method Detail

attributeChanged

public void attributeChanged(FigureEvent evt)
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

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener

dispose

public void dispose()

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