| Constructor and Description |
|---|
Redrawer(List<Plot> plots,
float maxRefreshRate,
boolean startImmediately) |
Redrawer(Plot plot,
float maxRefreshRate,
boolean startImmediately) |
| Modifier and Type | Method and Description |
|---|---|
void |
finish()
Internally, this causes
the refresh thread to exit.
|
void |
pause()
Temporarily stop redrawing the plot.
|
void |
run() |
void |
setMaxRefreshRate(float refreshRate)
Set the maximum refresh rate that Redrawer should use.
|
void |
start()
Start/resume redrawing the plot.
|
public Redrawer(List<Plot> plots, float maxRefreshRate, boolean startImmediately)
plots - List of Plot instances to be redrawnmaxRefreshRate - Desired frequency at which to redraw plots.startImmediately - If true, invokes run() immediately after construction.public Redrawer(Plot plot, float maxRefreshRate, boolean startImmediately)
public void pause()
public void start()
public void finish()
public void setMaxRefreshRate(float refreshRate)
refreshRate - Refresh rate in Hz.