timerlistener.java

来自「corejava的源程序内有好多的源代码」· Java 代码 · 共 22 行

JAVA
22
字号
/**
   @version 1.10 1997-10-27
   @author Cay Horstmann
*/

import java.util.*;

/**
   An interface for being notified when a timer tick occurs.
*/
public interface TimerListener extends EventListener
{ 
   /**
      This method is called whenever the time between 
      notifications has elapsed.
      @param evt the timer event that contains
      the time of notification
   */
   public void timeElapsed(TimerEvent evt);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?