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 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
-
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, validateInvalidComponentsMethods 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- ifdelegateisnull
-
-
Method Details
-
addDirtyRegion
- Overrides:
addDirtyRegionin classForwardingRepaintManager
-