001    package sale.events;
002    
003    import java.util.EventListener;
004    
005    /**
006     * This interface has to be implemented by classes that wish to receive {@link TimerEvent TimerEvent}s.
007     *
008     * @author Stephan Gambke
009     * @version 2.0 11/06/1999
010     * @since v2.0
011     */
012    public interface TimerListener extends EventListener {
013    
014        /**
015         * Invoked when the time has been set.
016         *
017         * @param tevtEvent the TimerEvent to process
018         *
019         * @override Always
020         */
021        public void onTimeSet(TimerEvent tevtEvent);
022    
023        /**
024         * Invoked when the interval has been set.
025         *
026         * @param tevtEvent the TimerEvent to process
027         *
028         * @override Always
029         */
030        public void onIntervalSet(TimerEvent tevtEvent);
031    
032        /**
033         * Invoked when the time has been increased.
034         *
035         * @param tevtEvent the TimerEvent to process
036         *
037         * @override Always
038         */
039        public void onGoneAhead(TimerEvent tevtEvent);
040    }