Eclipse Draw2d
2.1

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, dispose, firePainting, fireValidating, isDisposed, 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.

Specified by:
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.

Specified by:
addInvalidFigure in class UpdateManager

getHost

protected abstract IFigure getHost()

getSuperior

protected UpdateManager getSuperior()

performUpdate

public void performUpdate()
Specified by:
performUpdate in class UpdateManager

performUpdate

public void performUpdate(Rectangle rect)
Specified by:
performUpdate in class UpdateManager

setRoot

public void setRoot(IFigure f)
Specified by:
setRoot in class UpdateManager

setGraphicsSource

public void setGraphicsSource(GraphicsSource gs)
Specified by:
setGraphicsSource in class UpdateManager

Eclipse Draw2d
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.