public class RepaintManagerX extends ForwardingRepaintManager
An implementation of RepaintManager
which adds support for transparency
in JXPanel
s. JXPanel
(which supports translucency) will
replace the current RepaintManager with an instance of RepaintManagerX
unless the current RepaintManager is tagged by the TranslucentRepaintManager
annotation.
Constructor and Description |
---|
RepaintManagerX(RepaintManager delegate)
Creates a new manager that forwards all calls to the delegate.
|
Modifier and Type | Method and Description |
---|---|
void |
addDirtyRegion(JComponent c,
int x,
int y,
int w,
int h) |
addDirtyRegion, addDirtyRegion, addInvalidComponent, getDelegateManager, getDirtyRegion, getDoubleBufferMaximumSize, getOffscreenBuffer, getVolatileOffscreenBuffer, isCompletelyDirty, isDoubleBufferingEnabled, markCompletelyClean, markCompletelyDirty, paintDirtyRegions, removeInvalidComponent, setDoubleBufferingEnabled, setDoubleBufferMaximumSize, toString, validateInvalidComponents
currentManager, currentManager, setCurrentManager
public RepaintManagerX(RepaintManager delegate)
delegate
- the manager backing this RepaintManagerX
NullPointerException
- if delegate
is null
public void addDirtyRegion(JComponent c, int x, int y, int w, int h)
addDirtyRegion
in class ForwardingRepaintManager
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses