Class TTimer

java.lang.Object
  |
  +--TObject
        |
        +--TTimer

public class TTimer
extends TObject

Type Timer: class TString is used to stop the execution of a program for a fixed delay.

Since:
NOT YET RELEASED

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

delay

public int delay
The time delay. (in milisecond)

Constructor Detail

TTimer

public TTimer()
Instanciates a new Type String.

Since:
NOT YET RELEASED

TTimer

public TTimer(int delay)
Instanciates a new Type String.

Parameters:
delay - The time delay. (in milisecond)
Since:
NOT YET RELEASED
Method Detail

activate

public void activate()
Stops the execution.

Since:
NOT YET RELEASED

sleep

public void sleep(int delay)
Stops the execution.

Parameters:
delay - The time delay. (in milisecond)
Since:
NOT YET RELEASED

setDelay

public void setDelay(int delay)
Sets the time delay.

Parameters:
delay - The time delay. (in milisecond)
Since:
NOT YET RELEASED

getDelay

public int getDelay()
Returns the time delay.

Returns:
delay: The time delay. (in milisecond)
Since:
NOT YET RELEASED