|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.draw2d.UpdateManager | +--org.eclipse.draw2d.SubordinateUpdateManager
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()
Performs the update. |
void |
performUpdate(Rectangle rect)
Performs an update on the given exposed rectangle. |
void |
setGraphicsSource(GraphicsSource gs)
Sets the GraphicsSource for this update manager. |
void |
setRoot(IFigure f)
Sets the root figure. |
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 |
protected IFigure root
protected GraphicsSource graphicsSource
Constructor Detail |
public SubordinateUpdateManager()
Method Detail |
public void addDirtyRegion(IFigure f, int x, int y, int w, int h)
UpdateManager
addDirtyRegion
in class UpdateManager
f
- the dirty figurex
- the x coordinate of the dirty regiony
- the y coordinate of the dirty regionw
- the width of the dirty regionh
- the height of the dirty regionUpdateManager.addDirtyRegion(IFigure, int, int, int, int)
public void addInvalidFigure(IFigure f)
UpdateManager
addInvalidFigure
in class UpdateManager
f
- the invalid figureUpdateManager.addInvalidFigure(IFigure)
protected abstract IFigure getHost()
protected UpdateManager getSuperior()
public void performUpdate()
UpdateManager
performUpdate
in class UpdateManager
UpdateManager.performUpdate()
public void performUpdate(Rectangle rect)
UpdateManager
performUpdate
in class UpdateManager
rect
- the exposed rectangleUpdateManager.performUpdate(Rectangle)
public void setRoot(IFigure f)
UpdateManager
setRoot
in class UpdateManager
f
- the new root figureUpdateManager.setRoot(IFigure)
public void setGraphicsSource(GraphicsSource gs)
UpdateManager
setGraphicsSource
in class UpdateManager
gs
- the new GraphicsSourceUpdateManager.setGraphicsSource(GraphicsSource)
|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |