|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.timesheet.timer.Timer.Clock
Class Clock produces one clock tick every INTERVAL milliseconds
| Constructor Summary | |
protected |
Timer.Clock()
|
| Method Summary | |
boolean |
isRunning()
|
void |
run()
|
void |
start()
|
void |
stopTime()
Stops the clock. |
void |
waitForTick(long lastTick)
Timer instances call this method to wait for the next clock tick. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Timer.Clock()
| Method Detail |
public void run()
run in interface java.lang.Runnablepublic boolean isRunning()
public void start()
public void stopTime()
public void waitForTick(long lastTick)
lastTick - the caller's own ticknumber
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||