org.pbjar.jxlayer.plaf.ext
Class TransformUI.TransformRepaintManager

java.lang.Object
  extended by javax.swing.RepaintManager
      extended by org.pbjar.jxlayer.plaf.ext.TransformUI.TransformRepaintManager
Enclosing class:
TransformUI

protected static class TransformUI.TransformRepaintManager
extends RepaintManager

A delegate RepaintManager that can be set on the view of a JXLayer in Java versions starting with Java 6u10.

For older Java versions, RepaintManager.setCurrentManager(RepaintManager) will be used with either TransformRPMFallBack or TransformRPMSwingX.


Method Summary
 void addDirtyRegion(JComponent aComponent, int x, int y, int w, int h)
          Finds the JXLayer ancestor and have the ancestor marked as dirty with the transformed rectangle via the current RepaintManager.
 void addInvalidComponent(JComponent invalidComponent)
          Finds the JXLayer ancestor and have ancestor marked invalid via the current RepaintManager.
 
Methods inherited from class javax.swing.RepaintManager
addDirtyRegion, addDirtyRegion, currentManager, currentManager, getDirtyRegion, getDoubleBufferMaximumSize, getOffscreenBuffer, getVolatileOffscreenBuffer, isCompletelyDirty, isDoubleBufferingEnabled, markCompletelyClean, markCompletelyDirty, paintDirtyRegions, removeInvalidComponent, setCurrentManager, setDoubleBufferingEnabled, setDoubleBufferMaximumSize, toString, validateInvalidComponents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

addDirtyRegion

public void addDirtyRegion(JComponent aComponent,
                           int x,
                           int y,
                           int w,
                           int h)
Finds the JXLayer ancestor and have the ancestor marked as dirty with the transformed rectangle via the current RepaintManager.

Overrides:
addDirtyRegion in class RepaintManager

addInvalidComponent

public void addInvalidComponent(JComponent invalidComponent)
Finds the JXLayer ancestor and have ancestor marked invalid via the current RepaintManager.

Overrides:
addInvalidComponent in class RepaintManager