borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.util
java.lang.Object +----borland.jbcl.util.Timer
Constructors Properties Methods
The Timer class performs one or more tasks at given intervals. The startTimer() method registers a borland.jbcl.util.TimerClient with an id, interval and repeat value. When the time is up, the client is notified and the id is passed for reference. If the repeat property is true, the time continues to fire at the interval until stopped. The stopTimer() can be used to kill a pending or repeating timer. The constructor should not be used since all the methods are static.
public Timer()This constructor should not be used since all Timer class methods are static.
public static void startTimer(borland.jbcl.util.TimerClient client, int eventId, long delay, boolean repeat)
public static void stopTimer(borland.jbcl.util.TimerClient client, int eventId)