Class powersoft.jcm.util.Timer
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class powersoft.jcm.util.Timer

java.lang.Object
   |
   +----powersoft.jcm.util.Timer

public class Timer
extends Object
implements Runnable

Variable Index

 o _timerVector

Constructor Index

 o Timer()

Method Index

 o addTimerListener(TimerListener)
 o getHighPriority()
 o getTimerListeners()
 o handleTimer(TimerEvent)
 o removeTimerListener(TimerListener)
 o run()
 o setHighPriority(boolean)
 o start(long)
 o start(long, int)
 o stop()

Variables

 o _timerVector
  protected EventListenerVector _timerVector

Constructors

 o Timer
  public Timer()

Methods

 o addTimerListener
  public synchronized void addTimerListener(TimerListener l)
 o getTimerListeners
  public synchronized EventListenerVector getTimerListeners()
 o handleTimer
  public synchronized void handleTimer(TimerEvent data)
 o removeTimerListener
  public synchronized void removeTimerListener(TimerListener l)
 o getHighPriority
  public boolean getHighPriority()
 o setHighPriority
  public synchronized void setHighPriority(boolean highPriority)
 o start
  public boolean start(long interval)
 o start
  public synchronized boolean start(long interval,
                                    int tickCount)
Parameters:
interval - The requested period of time, measured in milliseconds, between Timer events.
tickCount - The number of Timer events to be triggered. If 0 events will be triggered until the stop method is called.
 o stop
  public synchronized boolean stop()
 o run
  public void run()

All Packages  Class Hierarchy  This Package  Previous  Next  Index