palmed.edit.scrollbar
Class RepeatableTimer

java.lang.Object
  extended by palmed.edit.scrollbar.RepeatableTimer

public final class RepeatableTimer
extends java.lang.Object

This class preventS a timer to be reinitialized when already running.

Version:
$Revision$ $Date$
Author:
Mathieu Champlon

Constructor Summary
RepeatableTimer()
          Create a scrolling timer.
 
Method Summary
 void start(java.util.TimerTask task)
          Start the timer.
 void stop()
          Stop the timer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepeatableTimer

public RepeatableTimer()
Create a scrolling timer.

Method Detail

start

public void start(java.util.TimerTask task)
Start the timer.

Calling this method again without calling stop has no effect.

Parameters:
task - the task to execute

stop

public void stop()
Stop the timer.

Calling this method twice has no effect.



Copyright © 2004-2006 PalmEd. All Rights Reserved.