|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.sposh.engine.timer.SystemClockTimer
public class SystemClockTimer
Simple timer that has same time as Calendar. Can't be suspended or resumed.
| Constructor Summary | |
|---|---|
SystemClockTimer()
|
|
| Method Summary | |
|---|---|
long |
getTime()
|
void |
init()
Initialize timer, e.g. |
boolean |
isSuspended()
Is the timer suspended? |
void |
resume()
Resume suspended timer |
void |
suspend()
Suspend timer, until resume() is called, stop the clock. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemClockTimer()
| Method Detail |
|---|
public void init()
ITimer
init in interface ITimerpublic void suspend()
ITimer
suspend in interface ITimerpublic boolean isSuspended()
ITimer
isSuspended in interface ITimerpublic void resume()
ITimer
resume in interface ITimerpublic long getTime()
getTime in interface ITimer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||