|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--TObject | +--TTimer
Type Timer:
class TString
is used to stop the execution of
a program for a fixed delay.
Field Summary | |
int |
delay
The time delay. |
Constructor Summary | |
TTimer()
Instanciates a new Type String. |
|
TTimer(int delay)
Instanciates a new Type String. |
Method Summary | |
void |
activate()
Stops the execution. |
int |
getDelay()
Returns the time delay. |
void |
setDelay(int delay)
Sets the time delay. |
void |
sleep(int delay)
Stops the execution. |
Methods inherited from class TObject |
clone, Destroy, equals, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int delay
Constructor Detail |
public TTimer()
public TTimer(int delay)
delay
- The time delay. (in milisecond)Method Detail |
public void activate()
public void sleep(int delay)
delay
- The time delay. (in milisecond)public void setDelay(int delay)
delay
- The time delay. (in milisecond)public int getDelay()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |