waba.ui
Class Timer
java.lang.Object
|
+--waba.ui.Timer
- public class Timer
- extends java.lang.Object
Timer represents a control's timer. Timers are created and destroyed using
the addTimer() and removeTimer() methods present in the Control class.
Field Summary |
protected int |
lastTick
The timestamp of the last tick. |
protected int |
millis
The timer interval in milliseconds. |
protected Timer |
next
The next timer in the linked list. |
protected Control |
target
The control to receive a timer event. |
Constructor Summary |
Timer()
|
Methods inherited from class java.lang.Object |
hashCode,
toString |
target
protected Control target
- The control to receive a timer event.
millis
protected int millis
- The timer interval in milliseconds.
lastTick
protected int lastTick
- The timestamp of the last tick.
next
protected Timer next
- The next timer in the linked list.
Timer
public Timer()