org.statcato.utils
Class SetStatusTimer

java.lang.Object
  extended by org.statcato.utils.SetStatusTimer

public class SetStatusTimer
extends java.lang.Object

A timer for setting a status label.

Since:
1.0
Version:
%I%, %G%
Author:
Margaret Yau

Constructor Summary
SetStatusTimer(javax.swing.JLabel statusLabel, java.lang.String newStatus, int seconds)
          Constructor.
 
Method Summary
 void cancelTimer()
          Cancels the timer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetStatusTimer

public SetStatusTimer(javax.swing.JLabel statusLabel,
                      java.lang.String newStatus,
                      int seconds)
Constructor.

Parameters:
status - status JLabel
seconds - number of seconds in which the clearing action will be performed
Method Detail

cancelTimer

public void cancelTimer()
Cancels the timer.