public class DummyRepaintManager extends RepaintManager
| Constructor and Description |
|---|
DummyRepaintManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDirtyRegion(JComponent c,
int x,
int y,
int w,
int h) |
void |
addInvalidComponent(JComponent invalidComponent) |
Rectangle |
getDirtyRegion(JComponent aComponent) |
Dimension |
getDoubleBufferMaximumSize() |
Image |
getOffscreenBuffer(Component c,
int proposedWidth,
int proposedHeight) |
Image |
getVolatileOffscreenBuffer(Component c,
int proposedWidth,
int proposedHeight) |
static void |
init() |
boolean |
isCompletelyDirty(JComponent aComponent) |
boolean |
isDoubleBufferingEnabled() |
static boolean |
isInstalled() |
void |
markCompletelyClean(JComponent aComponent) |
void |
markCompletelyDirty(JComponent aComponent) |
void |
paintDirtyRegions() |
void |
removeInvalidComponent(JComponent component) |
void |
setDoubleBufferingEnabled(boolean aFlag) |
void |
setDoubleBufferMaximumSize(Dimension d) |
void |
validateInvalidComponents() |
addDirtyRegion, addDirtyRegion, currentManager, currentManager, setCurrentManager, toStringpublic static boolean isInstalled()
public static void init()
public void addDirtyRegion(JComponent c, 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 RepaintManagerpublic Image getOffscreenBuffer(Component c, int proposedWidth, int proposedHeight)
getOffscreenBuffer in class RepaintManagerpublic 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 RepaintManagerCopyright © 2004–2016. All rights reserved.