com.jme.widget.util
Class WidgetRepeater

java.lang.Object
  extended bycom.jme.widget.util.WidgetRepeater

public class WidgetRepeater
extends java.lang.Object

Author:
Gregg Patton To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
static long DEFAULT_DELAY_REPEAT_MILLISECONDS
           
static long DEFAULT_REPEAT_RATE_PER_SECOND
           
 
Constructor Summary
WidgetRepeater()
           
WidgetRepeater(long repeatPerSecond, long initialDelayMillis)
           
 
Method Summary
 boolean doRepeat()
           
 long getInitialDelayMillis()
           
 long getRepeatPerSecond()
           
 void restart()
           
 void setInitialDelayMillis(long l)
           
 void setRepeatPerSecond(long l)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_REPEAT_RATE_PER_SECOND

public static final long DEFAULT_REPEAT_RATE_PER_SECOND
See Also:
Constant Field Values

DEFAULT_DELAY_REPEAT_MILLISECONDS

public static final long DEFAULT_DELAY_REPEAT_MILLISECONDS
See Also:
Constant Field Values
Constructor Detail

WidgetRepeater

public WidgetRepeater()

WidgetRepeater

public WidgetRepeater(long repeatPerSecond,
                      long initialDelayMillis)
Method Detail

doRepeat

public boolean doRepeat()

start

public void start()

restart

public void restart()

getRepeatPerSecond

public long getRepeatPerSecond()

setRepeatPerSecond

public void setRepeatPerSecond(long l)

getInitialDelayMillis

public long getInitialDelayMillis()

setInitialDelayMillis

public void setInitialDelayMillis(long l)