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
RepaintManagerwhich adds support for transparency inJXPanels.JXPanel(which supports translucency) will replace the current RepaintManager with an instance of RepaintManagerX unless the current RepaintManager is tagged by theTranslucentRepaintManagerannotation.
-
-
Constructor Summary
Constructors Constructor and Description RepaintManagerX(javax.swing.RepaintManager delegate)Creates a new manager that forwards all calls to the delegate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddDirtyRegion(javax.swing.JComponent c, int x, int y, int w, int h)-
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
-
-
-
-
Constructor Detail
-
RepaintManagerX
public RepaintManagerX(javax.swing.RepaintManager delegate)
Creates a new manager that forwards all calls to the delegate.- Parameters:
delegate- the manager backing thisRepaintManagerX- Throws:
java.lang.NullPointerException- ifdelegateisnull
-
-
Method Detail
-
addDirtyRegion
public void addDirtyRegion(javax.swing.JComponent c, int x, int y, int w, int h)- Overrides:
addDirtyRegionin classForwardingRepaintManager
-
-
DMelt 3.0 © DataMelt by jWork.ORG