public interface TimerListener
This interface is implemented by classes that wish to receive timer events. The Timer class will invoke the TimerEvent method for every time interval specified when the Timer is started. This gives the implementing class an opportunity to perform some type of time-dependent checking.
限定符和类型 | 方法和说明 |
---|---|
void |
TimerEvent(java.lang.Object object)
Called for each timer clock cycle
|