public class NonRealTimeScheduler extends Scheduler
Scheduler.State
DEFAULT_RESOLUTION
Constructor and Description |
---|
NonRealTimeScheduler() |
Modifier and Type | Method and Description |
---|---|
long |
getElapsedMillis()
Implementations of the Scheduler class must provide the present time when
queried.
|
void |
play()
Start playback.
|
void |
setElapsedMillis(long elapsedMillis)
Jump to a new time.
|
getCurrentInterval, getHalfMinimum, getMinimumResolution, getNow, getPatternsWithActiveMappings, getPeriod, pause, setPatterns, setPeriod, stop, update, updateFor
public void play()
Scheduler
public void setElapsedMillis(long elapsedMillis)
elapsedMillis
- public long getElapsedMillis()
Scheduler
getElapsedMillis
in class Scheduler
Processing Library loom by Cora Johnson-Roberson. (c) 2014-2016