org.apache.batik.util.gui
public static class MemoryMonitor.RepaintThread extends Thread
Nested Class Summary | |
---|---|
protected class | MemoryMonitor.RepaintThread.UpdateRunnable |
Field Summary | |
---|---|
protected List | components
The components to repaint. |
protected Runtime | runtime
The runtime. |
protected boolean | suspended
Whether or not the thread was supended. |
protected long | timeout
The repaint timeout |
protected MemoryMonitor.RepaintThread.UpdateRunnable | updateRunnable
Runnable for updating components. |
Constructor Summary | |
---|---|
RepaintThread(long timeout, List components)
Creates a new Thread. |
Method Summary | |
---|---|
protected MemoryMonitor.RepaintThread.UpdateRunnable | createUpdateRunnable() |
void | run()
The thread main method. |
void | safeResume()
Resumes the thread. |
void | safeSuspend()
Suspends the thread. |
Parameters: timeout The time between two repaint in ms. components The components to repaint.