Public Member Functions | |
void | doReRender () |
void | run () |
Static Public Member Functions | |
static ReRenderManager | getInstance () |
A small manager to get better user experience through buffering ReRender-calls. By using this, the GUI gets (almost) immediately responsive again upon clicking a button. If rendering the background takes longer than the time between multiple button clicks (made by the user), some ReRender-events are kind of silently dropped.
|
inline |
Schedule a re-render-Operation.
|
inlinestatic |
Gets the single instance of this manager.
|
inline |
A thread which checks if a re-rendering is scheduled and then sleeps 50ms. If necessary, it calls the Renderer to perform a full re-render.