|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.RepaintManager
org.pbjar.jxlayer.repaint.WrappedRepaintManager
public class WrappedRepaintManager
A fall back class for when the SwingX class ForwardingRepaintManager
is not available on the class path.
A RepaintManager that preserves functionality of a wrapped RepaintManager. All methods will delegate to the wrapped RepaintManager.
When sub classing this class, one must in all overridden methods call the
super method.
RepaintManagerUtils,
RepaintManagerProvider,
ForwardingRepaintManager| Constructor Summary | |
|---|---|
WrappedRepaintManager(RepaintManager delegate)
Construct a RepaintManager wrapping an existing RepaintManager. |
|
| Method Summary | |
|---|---|
void |
addDirtyRegion(Applet applet,
int x,
int y,
int w,
int h)
Just delegates. |
void |
addDirtyRegion(JComponent c,
int x,
int y,
int w,
int h)
Just delegates. |
void |
addDirtyRegion(Window window,
int x,
int y,
int w,
int h)
Just delegates. |
void |
addInvalidComponent(JComponent invalidComponent)
Just delegates. |
RepaintManager |
getDelegateManager()
Get the delegate. |
Rectangle |
getDirtyRegion(JComponent aComponent)
Just delegates. |
Dimension |
getDoubleBufferMaximumSize()
Just delegates. |
Image |
getOffscreenBuffer(Component c,
int proposedWidth,
int proposedHeight)
Just delegates. |
Image |
getVolatileOffscreenBuffer(Component c,
int proposedWidth,
int proposedHeight)
Just delegates. |
boolean |
isCompletelyDirty(JComponent aComponent)
Just delegates. |
boolean |
isDoubleBufferingEnabled()
Just delegates. |
void |
markCompletelyClean(JComponent aComponent)
Just delegates. |
void |
markCompletelyDirty(JComponent aComponent)
Just delegates. |
void |
paintDirtyRegions()
Just delegates. |
void |
removeInvalidComponent(JComponent component)
Just delegates. |
void |
setDoubleBufferingEnabled(boolean aFlag)
Just delegates. |
void |
setDoubleBufferMaximumSize(Dimension d)
Just delegates. |
void |
validateInvalidComponents()
Just delegates. |
| Methods inherited from class javax.swing.RepaintManager |
|---|
currentManager, currentManager, setCurrentManager, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WrappedRepaintManager(RepaintManager delegate)
RepaintManager wrapping an existing RepaintManager.
delegate - an existing RepaintManager| Method Detail |
|---|
public void addDirtyRegion(Applet applet,
int x,
int y,
int w,
int h)
addDirtyRegion in class RepaintManager
public void addDirtyRegion(JComponent c,
int x,
int y,
int w,
int h)
addDirtyRegion in class RepaintManager
public void addDirtyRegion(Window window,
int x,
int y,
int w,
int h)
addDirtyRegion in class RepaintManagerpublic void addInvalidComponent(JComponent invalidComponent)
addInvalidComponent in class RepaintManagerpublic Rectangle getDirtyRegion(JComponent aComponent)
getDirtyRegion in class RepaintManagerpublic Dimension getDoubleBufferMaximumSize()
getDoubleBufferMaximumSize in class RepaintManager
public Image getOffscreenBuffer(Component c,
int proposedWidth,
int proposedHeight)
getOffscreenBuffer in class RepaintManager
public Image getVolatileOffscreenBuffer(Component c,
int proposedWidth,
int proposedHeight)
getVolatileOffscreenBuffer in class RepaintManagerpublic boolean isCompletelyDirty(JComponent aComponent)
isCompletelyDirty in class RepaintManagerpublic boolean isDoubleBufferingEnabled()
isDoubleBufferingEnabled in class RepaintManagerpublic void markCompletelyClean(JComponent aComponent)
markCompletelyClean in class RepaintManagerpublic void markCompletelyDirty(JComponent aComponent)
markCompletelyDirty in class RepaintManagerpublic void paintDirtyRegions()
paintDirtyRegions in class RepaintManagerpublic void removeInvalidComponent(JComponent component)
removeInvalidComponent in class RepaintManagerpublic void setDoubleBufferingEnabled(boolean aFlag)
setDoubleBufferingEnabled in class RepaintManagerpublic void setDoubleBufferMaximumSize(Dimension d)
setDoubleBufferMaximumSize in class RepaintManagerpublic void validateInvalidComponents()
validateInvalidComponents in class RepaintManagerpublic RepaintManager getDelegateManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||