|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--java.lang.Thread
|
+--arlut.csd.ganymede.client.StatusClearThread
Background thread designed to clear the status label in
gclient
some seconds after the setClock() method is called.
| Field Summary | |
(package private) static boolean |
debug
|
(package private) boolean |
done
|
(package private) boolean |
resetClock
|
(package private) int |
sleepSecs
|
(package private) javax.swing.JTextField |
statusLabel
|
| Fields inherited from class java.lang.Thread |
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ |
| Constructor Summary | |
StatusClearThread(javax.swing.JTextField statusLabel)
|
|
| Method Summary | |
void |
run()
|
void |
setClock(int countDown)
This method resets the clock in the StatusClearThread, such that the status label will be cleared in countDown seconds, unless another setClock follows on closely enough to interrupt the countdown, effectively. |
void |
shutdown()
This method causes the run() method to gracefully terminate without taking any further action. |
| Methods inherited from class java.lang.Thread |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
static final boolean debug
boolean done
boolean resetClock
javax.swing.JTextField statusLabel
int sleepSecs
| Constructor Detail |
public StatusClearThread(javax.swing.JTextField statusLabel)
| Method Detail |
public void run()
run in class java.lang.Threadpublic void setClock(int countDown)
This method resets the clock in the StatusClearThread, such that the status label will be cleared in countDown seconds, unless another setClock follows on closely enough to interrupt the countdown, effectively.
countDown - seconds to wait before clearing the status field. If
countDown is zero or negative, the timer will suspend until a later
call to setClock sets a positive countdown.public void shutdown()
This method causes the run() method to gracefully terminate without taking any further action.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||