public class RepaintManagerX
- extends ForwardingRepaintManager
An implementation of
RepaintManager which adds support for transparency
JXPanel (which supports translucency) will
replace the current RepaintManager with an instance of RepaintManagerX
unless the current RepaintManager is tagged by the
Add a component in the list of components that should be refreshed.
|Methods inherited from class org.jdesktop.swingx.ForwardingRepaintManager
addInvalidComponent, getDelegateManager, getDirtyRegion, getDoubleBufferMaximumSize, getOffscreenBuffer, getVolatileOffscreenBuffer, isCompletelyDirty, isDoubleBufferingEnabled, markCompletelyClean, markCompletelyDirty, paintDirtyRegions, removeInvalidComponent, setDoubleBufferingEnabled, setDoubleBufferMaximumSize, toString, validateInvalidComponents
public RepaintManagerX(RepaintManager delegate)
public void addDirtyRegion(JComponent c,
- Add a component in the list of components that should be refreshed.
If c already has a dirty region, the rectangle (x,y,w,h)
will be unioned with the region that should be redrawn.
addDirtyRegion in class
c - Component to repaint, null results in nothing happening.
x - X coordinate of the region to repaint
y - Y coordinate of the region to repaint
w - Width of the region to repaint
h - Height of the region to repaint
- See Also:
JComponent.repaint(long, int, int, int, int)