Protege-2000 1.7

edu.stanford.smi.protegex.layout
Class DirtyRectBackgroundManager

java.lang.Object
  |
  +--edu.stanford.smi.protegex.layout.DirtyRectBackgroundManager
All Implemented Interfaces:
BackgroundManager

public class DirtyRectBackgroundManager
extends Object
implements BackgroundManager

Description of the Class Not used in diagrams because it is too expensive. Use clean sweep instead.

Author:
William Grosso

Constructor Summary
DirtyRectBackgroundManager(AnimationContext animationContext, Image tile)
           
 
Method Summary
 void addDirtyRect(Rectangle dirtyRect)
           
 void backgroundHasChangedSize()
           
 void drawEntireBackground(Graphics g)
           
 void refreshBackground(Graphics g)
           
 void setBackgroundTile(Image tile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirtyRectBackgroundManager

public DirtyRectBackgroundManager(AnimationContext animationContext,
                                  Image tile)
Method Detail

addDirtyRect

public void addDirtyRect(Rectangle dirtyRect)
Specified by:
addDirtyRect in interface BackgroundManager

backgroundHasChangedSize

public void backgroundHasChangedSize()
Specified by:
backgroundHasChangedSize in interface BackgroundManager

drawEntireBackground

public void drawEntireBackground(Graphics g)
Specified by:
drawEntireBackground in interface BackgroundManager

refreshBackground

public void refreshBackground(Graphics g)
Specified by:
refreshBackground in interface BackgroundManager

setBackgroundTile

public void setBackgroundTile(Image tile)

Protege-2000 1.7

Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.