public abstract class TimingTask extends Object implements Taskable
timer()
together with its call back method
( Taskable.execute()
) which derived classes should
implement.Constructor and Description |
---|
TimingTask() |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Timer wrapper method.
|
void |
create()
Timer wrapper method.
|
boolean |
isActive()
Timer wrapper method.
|
long |
period()
Timer wrapper method.
|
void |
run(long period)
Timer wrapper method.
|
void |
runOnce(long period)
Timer wrapper method.
|
void |
setTimer(Timer t)
Sets the timer instance.
|
void |
stop()
Timer wrapper method.
|
Timer |
timer()
Returns the timer instance.
|
public Timer timer()
public void setTimer(Timer t)
public void run(long period)
public void runOnce(long period)
public void stop()
public void cancel()
public void create()
public boolean isActive()
public long period()
Processing Library proscene by Jean Pierre Charalambos. (c) 2014-2017 National University of Colombia