org.jhotdraw.draw.event
Class SelectionComponentRepainter
- java.lang.Object
-
- org.jhotdraw.draw.event.FigureAdapter
-
- org.jhotdraw.draw.event.SelectionComponentRepainter
-
- All Implemented Interfaces:
- java.beans.PropertyChangeListener, java.util.EventListener, Disposable, FigureListener, FigureSelectionListener
public class SelectionComponentRepainter extends FigureAdapter implements java.beans.PropertyChangeListener, FigureSelectionListener, Disposable
Calls repaint on components, which show attributes of the drawing editor and of its views based on the current selection.
-
-
Constructor Summary
Constructors Constructor and Description SelectionComponentRepainter(DrawingEditor editor, javax.swing.JComponent component)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidattributeChanged(FigureEvent evt)Sent when an attribute of the figure has changed.voiddispose()Disposes of all resources held by this object so that they can be garbage collected.voidpropertyChange(java.beans.PropertyChangeEvent evt)voidselectionChanged(FigureSelectionEvent evt)-
Methods inherited from class org.jhotdraw.draw.event.FigureAdapter
areaInvalidated, figureAdded, figureChanged, figureHandlesChanged, figureRemoved, figureRequestRemove
-
-
-
-
Constructor Detail
-
SelectionComponentRepainter
public SelectionComponentRepainter(DrawingEditor editor, javax.swing.JComponent component)
-
-
Method Detail
-
attributeChanged
public void attributeChanged(FigureEvent evt)
Description copied from interface:FigureListenerSent when an attribute of the figure has changed.- Specified by:
attributeChangedin interfaceFigureListener- Overrides:
attributeChangedin classFigureAdapter
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChangein interfacejava.beans.PropertyChangeListener
-
selectionChanged
public void selectionChanged(FigureSelectionEvent evt)
- Specified by:
selectionChangedin interfaceFigureSelectionListener
-
dispose
public void dispose()
Description copied from interface:DisposableDisposes of all resources held by this object so that they can be garbage collected.- Specified by:
disposein interfaceDisposable
-
-
DataMelt 3.0 © DataMelt by jWork.ORG