Class ReplyTimer

java.lang.Object
  |
  +--ReplyTimer

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


Field Summary
private  boolean timeout
           
private  javax.swing.Timer timer
           
private static int WAIT_LIMIT
           
 
Constructor Summary
ReplyTimer()
          Default constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
          Timer event listener.
 void start()
          Start the timer.
 void stop()
          Stop the timer.
 boolean timeout()
          Return the value of timeout.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

timeout

private boolean timeout

timer

private javax.swing.Timer timer

WAIT_LIMIT

private static final int WAIT_LIMIT
Constructor Detail

ReplyTimer

public ReplyTimer()
Default constructor.
Method Detail

start

public void start()
Start the timer.

stop

public void stop()
Stop the timer.

timeout

public boolean timeout()
Return the value of timeout. Check whether or not a timeout occured.

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Timer event listener. This method executes when the timer reaches it's limit.
Specified by:
actionPerformed in interface java.awt.event.ActionListener