Package org.jdesktop.swingx
Class RepaintManagerX
java.lang.Object
javax.swing.RepaintManager
org.jdesktop.swingx.ForwardingRepaintManager
org.jdesktop.swingx.RepaintManagerX
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.
- Author:
- zixle, rbair, Karl Schaefer
-
Constructor Summary
ConstructorsConstructorDescriptionRepaintManagerX
(RepaintManager delegate) Creates a new manager that forwards all calls to the delegate. -
Method Summary
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
Methods inherited from class javax.swing.RepaintManager
currentManager, currentManager, setCurrentManager
-
Constructor Details
-
RepaintManagerX
Creates a new manager that forwards all calls to the delegate.- Parameters:
delegate
- the manager backing thisRepaintManagerX
- Throws:
NullPointerException
- ifdelegate
isnull
-
-
Method Details
-
addDirtyRegion
- Overrides:
addDirtyRegion
in classForwardingRepaintManager
-