org.fest.swing.util
Class TimeoutWatch

java.lang.Object
  extended by org.fest.swing.util.TimeoutWatch

public final class TimeoutWatch
extends Object

Understands a time counter with a timeout.

Author:
Alex Ruiz

Method Summary
 boolean isTimeOut()
           
static TimeoutWatch startWatchWithTimeoutOf(long timeout)
          Creates and starts a new TimeoutWatch with the given timeout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

startWatchWithTimeoutOf

public static TimeoutWatch startWatchWithTimeoutOf(long timeout)
Creates and starts a new TimeoutWatch with the given timeout.

Parameters:
timeout - the given timeout.
Returns:
the new timeout watch.

isTimeOut

public boolean isTimeOut()


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.