org.pbjar.jxlayer.plaf.ext.transform
Class TransformRPMFallBack
java.lang.Object
javax.swing.RepaintManager
org.pbjar.jxlayer.repaint.WrappedRepaintManager
org.pbjar.jxlayer.plaf.ext.transform.TransformRPMFallBack
public class TransformRPMFallBack
- extends WrappedRepaintManager
A specialized RepaintManager that checks for every JComponent that is
being set dirty, if it has a JXLayer ancestor, equipped with a TransformUI.
In that case, the transformed region on the JXLayer is also marked dirty.
A fall back class if the ForwardingRepaintManager cannot be
instantiated because the SwingX packages are not on the class path.
- See Also:
RepaintManagerProvider,
RepaintManagerUtils,
TransformRPMSwingX
|
Method Summary |
void |
addDirtyRegion(JComponent c,
int x,
int y,
int w,
int h)
Delegates and then marks a JXLayer ancestor as dirty with the transformed
rectangle. |
| Methods inherited from class org.pbjar.jxlayer.repaint.WrappedRepaintManager |
addDirtyRegion, addDirtyRegion, addInvalidComponent, getDelegateManager, getDirtyRegion, getDoubleBufferMaximumSize, getOffscreenBuffer, getVolatileOffscreenBuffer, isCompletelyDirty, isDoubleBufferingEnabled, markCompletelyClean, markCompletelyDirty, paintDirtyRegions, removeInvalidComponent, setDoubleBufferingEnabled, setDoubleBufferMaximumSize, validateInvalidComponents |
TransformRPMFallBack
public TransformRPMFallBack(RepaintManager delegate)
- Sole constructor.
- Parameters:
delegate - the delegate RepaintManager
addDirtyRegion
public void addDirtyRegion(JComponent c,
int x,
int y,
int w,
int h)
- Delegates and then marks a JXLayer ancestor as dirty with the transformed
rectangle.
- Overrides:
addDirtyRegion in class WrappedRepaintManager