dd.util
Class CountdownTimer
java.lang.Object
dd.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountdownTimer
public CountdownTimer(int seconds)
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()