Eclipse Draw2d
2.1

org.eclipse.draw2d
Class DeferredUpdateManager

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

public class DeferredUpdateManager
extends UpdateManager


Nested Class Summary
protected  class DeferredUpdateManager.UpdateRequest
           
 
Constructor Summary
DeferredUpdateManager()
           
DeferredUpdateManager(GraphicsSource gs)
           
 
Method Summary
 void addDirtyRegion(IFigure figure, 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  Graphics getGraphics(Rectangle region)
           
 void performUpdate()
           
 void performUpdate(Rectangle exposed)
           
protected  void queueWork()
           
protected  void releaseGraphics(Graphics graphics)
           
protected  void repairDamage()
           
 void setGraphicsSource(GraphicsSource gs)
           
 void setRoot(IFigure figure)
           
protected  void validateFigures()
           
 
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
 

Constructor Detail

DeferredUpdateManager

public DeferredUpdateManager(GraphicsSource gs)

DeferredUpdateManager

public DeferredUpdateManager()
Method Detail

addDirtyRegion

public void addDirtyRegion(IFigure figure,
                           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

getGraphics

protected Graphics getGraphics(Rectangle region)

performUpdate

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

performUpdate

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

queueWork

protected void queueWork()

releaseGraphics

protected void releaseGraphics(Graphics graphics)

repairDamage

protected void repairDamage()

setGraphicsSource

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

setRoot

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

validateFigures

protected void validateFigures()

Eclipse Draw2d
2.1

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