ch.aplu.util
Interface TimerListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
TimerAdapter

public interface TimerListener
extends java.util.EventListener

The listener interface for receiving timer events. The class that is interested in processing timer event either implements this interface (and the method timeElapesed()) or extends the abstract TimerAdapter class (and overridins timeElapsed()).


Method Summary
 boolean timeElapsed()
          Invoked when the time interval is elapsed.
 

Method Detail

timeElapsed

boolean timeElapsed()
Invoked when the time interval is elapsed. If true is returned, the timer restarts automatically, otherwise the timer stops.