public class ActiveRepaintManager extends RepaintManager
FrameManager| Constructor and Description |
|---|
ActiveRepaintManager(Component root)
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDirtyRegion(JComponent comp,
int x,
int y,
int width,
int height) |
void |
addInvalidComponent(JComponent comp) |
Rectangle |
getDirtyRegion(JComponent comp) |
void |
markCompletelyClean(JComponent comp) |
boolean |
paintComponents(Graphics g,
FrameManager fmgr)
Paints the components that have become dirty since the last tick.
|
void |
validateComponents()
Validates the invalid components that have been queued up since the last frame tick.
|
addDirtyRegion, addDirtyRegion, currentManager, currentManager, getDoubleBufferMaximumSize, getOffscreenBuffer, getVolatileOffscreenBuffer, isCompletelyDirty, isDoubleBufferingEnabled, markCompletelyDirty, paintDirtyRegions, removeInvalidComponent, setCurrentManager, setDoubleBufferingEnabled, setDoubleBufferMaximumSize, toString, validateInvalidComponentspublic ActiveRepaintManager(Component root)
public void addInvalidComponent(JComponent comp)
addInvalidComponent in class RepaintManagerpublic void addDirtyRegion(JComponent comp, int x, int y, int width, int height)
addDirtyRegion in class RepaintManagerpublic Rectangle getDirtyRegion(JComponent comp)
getDirtyRegion in class RepaintManagerpublic void markCompletelyClean(JComponent comp)
markCompletelyClean in class RepaintManagerpublic void validateComponents()
public boolean paintComponents(Graphics g, FrameManager fmgr)
Copyright © 2015. All rights reserved.