Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## waba.ui
Class Timer

    java.lang.Object
      |
      +--waba.ui.Timer

public class Timer
extends 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.
`boolean` | `triggered` a flag set when the timer event is being posted.

Constructor Summary
`Timer()`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, toString, wait, wait`

Field Detail

### 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.

### triggered

    public boolean triggered

  a flag set when the timer event is being posted. With it, you can test from various timers to the same target control when one of them is dispatched.

Constructor Detail

### Timer

    public Timer()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD