dd.util
Class CountdownTimer

java.lang.Object
  extended bydd.util.CountdownTimer
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class CountdownTimer
extends java.lang.Object
implements java.awt.event.ActionListener

A simple class template. The idea is that you can copy this file and modify stuff where necessary. It provides examples of javadoc comments and basic formatting conventions. Hopefully this is useful for cutting and pasting.

If you want to start a new paragraph in Javadoc, you need a blank line and paragraph tags, as shown here. Note the closing tag for a paragraph is optional.

Author:
Eric Scharff

Constructor Summary
CountdownTimer(int seconds)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void addTimedActionListener(TimedActionListener listener)
           
 int getTimeRemaining()
           
 void reset()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountdownTimer

public CountdownTimer(int seconds)
Method Detail

getTimeRemaining

public int getTimeRemaining()

addTimedActionListener

public void addTimedActionListener(TimedActionListener listener)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

start

public void start()

stop

public void stop()

reset

public void reset()