Package com.iizigo.swt
Class TimeoutTimer
java.lang.Object
com.iizigo.swt.TimeoutTimer
Class that handles a timeout timer that can be started, retriggered, stopped.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorsConstructorDescriptionTimeoutTimer
(long timeout, Runnable runnable) Creates a timeout timer that will fire in the timeout.Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the timer is scheduled.void
Starts or re-triggers the timer to the initial timeout.void
stop()
Stops the timer.