|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlejos.util.Timer
public class Timer
Timer object, with some similar functionality to java.Swing.Timer.
| Constructor Summary | |
|---|---|
Timer(int theDelay,
TimerListener el)
Create a Timer object. |
|
| Method Summary | |
|---|---|
int |
getDelay()
access how man milliseconds between timedOut() messages. |
void |
setDelay(int newDelay)
Change the delay between timedOut messages. |
void |
start()
Starts the timer, telling it to send timeOut() methods to the TimerListener. |
void |
stop()
Stops the timer. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait |
| Constructor Detail |
|---|
public Timer(int theDelay,
TimerListener el)
| Method Detail |
|---|
public int getDelay()
public void setDelay(int newDelay)
public void stop()
public void start()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||