Draw2D v2.0

org.eclipse.draw2d
Class SubordinateUpdateManager

java.lang.Object
  |
  +--org.eclipse.draw2d.UpdateManager
        |
        +--org.eclipse.draw2d.SubordinateUpdateManager

public abstract class SubordinateUpdateManager
extends UpdateManager


Field Summary
protected  GraphicsSource graphicsSource
           
protected  IFigure root
           
 
Constructor Summary
SubordinateUpdateManager()
           
 
Method Summary
 void addDirtyRegion(IFigure f, int x, int y, int w, int h)
          Adds the dirty region defined by the coordinates on the IFigure figure.
 void addInvalidFigure(IFigure f)
          The receiver should call validate() on the IFigure figure in a timely fashion.
protected abstract  IFigure getHost()
           
protected  UpdateManager getSuperior()
           
 void performUpdate()
           
 void performUpdate(Rectangle rect)
           
 void setGraphicsSource(GraphicsSource gs)
           
 void setRoot(IFigure f)
           
 
Methods inherited from class org.eclipse.draw2d.UpdateManager
addDirtyRegion, addUpdateListener, firePainting, fireValidating, removeUpdateListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

root

protected IFigure root

graphicsSource

protected GraphicsSource graphicsSource
Constructor Detail

SubordinateUpdateManager

public SubordinateUpdateManager()
Method Detail

addDirtyRegion

public void addDirtyRegion(IFigure f,
                           int x,
                           int y,
                           int w,
                           int h)
Description copied from class: UpdateManager
Adds the dirty region defined by the coordinates on the IFigure figure. The update manager should repaint the dirty region in a timely fashion.
Overrides:
addDirtyRegion in class UpdateManager

addInvalidFigure

public void addInvalidFigure(IFigure f)
Description copied from class: UpdateManager
The receiver should call validate() on the IFigure figure in a timely fashion.
Overrides:
addInvalidFigure in class UpdateManager

getHost

protected abstract IFigure getHost()

getSuperior

protected UpdateManager getSuperior()

performUpdate

public void performUpdate()
Overrides:
performUpdate in class UpdateManager

performUpdate

public void performUpdate(Rectangle rect)
Overrides:
performUpdate in class UpdateManager

setRoot

public void setRoot(IFigure f)
Overrides:
setRoot in class UpdateManager

setGraphicsSource

public void setGraphicsSource(GraphicsSource gs)
Overrides:
setGraphicsSource in class UpdateManager

Draw2D v2.0