com.brackeen.javagamebook.graphics
Class NullRepaintManager

java.lang.Object
  extended byjavax.swing.RepaintManager
      extended bycom.brackeen.javagamebook.graphics.NullRepaintManager

public class NullRepaintManager
extends javax.swing.RepaintManager

The NullRepaintManager is a RepaintManager that doesn't do any repainting. Useful when all the rendering is done manually by the application.


Constructor Summary
NullRepaintManager()
           
 
Method Summary
 void addDirtyRegion(javax.swing.JComponent c, int x, int y, int w, int h)
           
 void addInvalidComponent(javax.swing.JComponent c)
           
static void install()
          Installs the NullRepaintManager.
 void markCompletelyDirty(javax.swing.JComponent c)
           
 void paintDirtyRegions()
           
 
Methods inherited from class javax.swing.RepaintManager
currentManager, currentManager, getDirtyRegion, getDoubleBufferMaximumSize, getOffscreenBuffer, getVolatileOffscreenBuffer, isCompletelyDirty, isDoubleBufferingEnabled, markCompletelyClean, removeInvalidComponent, setCurrentManager, setDoubleBufferingEnabled, setDoubleBufferMaximumSize, toString, validateInvalidComponents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullRepaintManager

public NullRepaintManager()
Method Detail

install

public static void install()
Installs the NullRepaintManager.


addInvalidComponent

public void addInvalidComponent(javax.swing.JComponent c)

addDirtyRegion

public void addDirtyRegion(javax.swing.JComponent c,
                           int x,
                           int y,
                           int w,
                           int h)

markCompletelyDirty

public void markCompletelyDirty(javax.swing.JComponent c)

paintDirtyRegions

public void paintDirtyRegions()