001 package ui; 002 003 /** 004 * A StopwatchListener listens for time updates from a stopwatch. 005 */ 006 public interface StopwatchListener extends java.util.EventListener { 007 008 /** tells how much time is left on the stopwatch, in milliseconds 009 * 010 * @param milliseconds 011 * @param source 012 */ 013 public void timeChanged(long milliseconds, Stopwatch source); 014 015 }