com.brackeen.javagamebook.graphics
Class NullRepaintManager
java.lang.Object
javax.swing.RepaintManager
com.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.
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 |
NullRepaintManager
public NullRepaintManager()
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()