Class jif.util.EventTimer
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jif.util.EventTimer

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----jif.util.EventTimer

public class EventTimer
extends Thread
The EventTimer class will generate an ACTION_EVENT when a specified number of milliseconds have elapsed. This is similar to the CallbackTimer class, but it does not require the target class to implement the TimeOut interface. This class extends Thread so it must be started, and can be suspended while running.
See Also:
CallbackTimer, TimeOut

Constructor Index

 o EventTimer(Component, int)
Constructs a EventTimer object.

Method Index

 o run()
The run method is what the thread is supposed to do when active.

Constructors

 o EventTimer
  public EventTimer(Component target,
                    int interval)
Constructs a EventTimer object.
Parameters:
target - The object that is requesting the timer
interval - The number of milliseconds between notifications

Methods

 o run
  public void run()
The run method is what the thread is supposed to do when active.
Overrides:
run in class Thread

All Packages  Class Hierarchy  This Package  Previous  Next  Index