org.jdesktop.swingx
Class RepaintManagerX
java.lang.Object
javax.swing.RepaintManager
org.jdesktop.swingx.ForwardingRepaintManager
org.jdesktop.swingx.RepaintManagerX
public class RepaintManagerX
- extends ForwardingRepaintManager
An implementation of RepaintManager which adds support for transparency
in JXPanels. JXPanel (which supports translucency) will
replace the current RepaintManager with an instance of RepaintManagerX
unless the current RepaintManager is tagged by the TranslucentRepaintManager
annotation.
- Author:
- zixle, rbair, Karl Schaefer
| Methods inherited from class org.jdesktop.swingx.ForwardingRepaintManager |
addDirtyRegion, addDirtyRegion, addInvalidComponent, getDelegateManager, getDirtyRegion, getDoubleBufferMaximumSize, getOffscreenBuffer, getVolatileOffscreenBuffer, isCompletelyDirty, isDoubleBufferingEnabled, markCompletelyClean, markCompletelyDirty, paintDirtyRegions, removeInvalidComponent, setDoubleBufferingEnabled, setDoubleBufferMaximumSize, toString, validateInvalidComponents |
RepaintManagerX
public RepaintManagerX(RepaintManager delegate)
- Creates a new manager that forwards all calls to the delegate.
- Parameters:
delegate - the manager backing this RepaintManagerX
- Throws:
NullPointerException - if delegate is null
addDirtyRegion
public void addDirtyRegion(JComponent c,
int x,
int y,
int w,
int h)
-
- Overrides:
addDirtyRegion in class ForwardingRepaintManager
Copyright © 2013. All Rights Reserved.