|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--org.apache.batik.util.gui.MemoryMonitor.RepaintThread
This thread repaints a list of components.
| Field Summary | |
protected java.util.List |
components
The components to repaint. |
protected java.lang.Runtime |
runtime
The runtime. |
protected boolean |
suspended
Whether or not the thread was supended. |
protected long |
timeout
The repaint timeout |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
MemoryMonitor.RepaintThread(long timeout,
java.util.List components)
Creates a new Thread. |
|
| Method Summary | |
void |
run()
The thread main method. |
void |
safeResume()
Resumes the thread. |
void |
safeSuspend()
Suspends the thread. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected long timeout
protected java.util.List components
protected java.lang.Runtime runtime
protected boolean suspended
| Constructor Detail |
public MemoryMonitor.RepaintThread(long timeout,
java.util.List components)
timeout - The time between two repaint in ms.components - The components to repaint.| Method Detail |
public void run()
run in class java.lang.Threadpublic void safeSuspend()
public void safeResume()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||