org.deken.game.graphics
Class NullRepaintManager

java.lang.Object
  extended by javax.swing.RepaintManager
      extended by org.deken.game.graphics.NullRepaintManager

public class NullRepaintManager
extends javax.swing.RepaintManager

Title: NullRepaintManager

Description: This class is used by the ScreenManager, when the full screen is enabled, thus allowing Swing components to be used in FullScreen mode, and repainted by the OldStyleEngine's paint.

Copyright: Copyright (c) 2006

Version:
1.0
Author:
Gary Deken

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()
           
 void markCompletelyDirty(javax.swing.JComponent c)
           
 void paintDirtyRegions()
           
 
Methods inherited from class javax.swing.RepaintManager
addDirtyRegion, addDirtyRegion, currentManager, currentManager, getDirtyRegion, getDoubleBufferMaximumSize, getOffscreenBuffer, getVolatileOffscreenBuffer, isCompletelyDirty, isDoubleBufferingEnabled, markCompletelyClean, removeInvalidComponent, setCurrentManager, setDoubleBufferingEnabled, setDoubleBufferMaximumSize, toString, validateInvalidComponents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullRepaintManager

public NullRepaintManager()
Method Detail

install

public static void install()

addInvalidComponent

public void addInvalidComponent(javax.swing.JComponent c)
Overrides:
addInvalidComponent in class javax.swing.RepaintManager

addDirtyRegion

public void addDirtyRegion(javax.swing.JComponent c,
                           int x,
                           int y,
                           int w,
                           int h)
Overrides:
addDirtyRegion in class javax.swing.RepaintManager

markCompletelyDirty

public void markCompletelyDirty(javax.swing.JComponent c)
Overrides:
markCompletelyDirty in class javax.swing.RepaintManager

paintDirtyRegions

public void paintDirtyRegions()
Overrides:
paintDirtyRegions in class javax.swing.RepaintManager