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 | Description |
---|---|
RepaintManagerX(RepaintManager delegate) |
Modifier and Type | Method | Description |
---|---|---|
void |
addDirtyRegion(JComponent c,
int x,
int y,
int w,
int h) |
Add a component in the list of components that should be refreshed.
|
addDirtyRegion, addDirtyRegion, addInvalidComponent, getDelegateManager, getDirtyRegion, getDoubleBufferMaximumSize, getOffscreenBuffer, getVolatileOffscreenBuffer, isCompletelyDirty, isDoubleBufferingEnabled, markCompletelyClean, markCompletelyDirty, paintDirtyRegions, removeInvalidComponent, setDoubleBufferingEnabled, setDoubleBufferMaximumSize, toString, validateInvalidComponents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
currentManager, currentManager, setCurrentManager
public RepaintManagerX(RepaintManager delegate)
delegate
- public void addDirtyRegion(JComponent c, int x, int y, int w, int h)
addDirtyRegion
in class ForwardingRepaintManager
c
- Component to repaint, null results in nothing happening.x
- X coordinate of the region to repainty
- Y coordinate of the region to repaintw
- Width of the region to repainth
- Height of the region to repaintJComponent.repaint(long, int, int, int, int)
Copyright © 2018. All rights reserved.