public class TestChart extends AbstractTestApplication implements ChartTestCase
Application.Parameters| Modifier and Type | Field and Description |
|---|---|
protected XYChart |
chart |
protected de.gsi.dataset.spi.DoubleDataSet |
dataSet |
protected int |
nSamples |
protected de.gsi.dataset.testdata.spi.SineFunction |
testFunction |
protected DefaultNumericAxis |
xAxis |
protected DefaultNumericAxis |
yAxis |
downSampleCounter, FPS_METER_AVERAGING_PERIOD, FPS_METER_PERIOD, MAX_DATA_POINTS_1HZ, MAX_DATA_POINTS_25HZ, meter, test, timerSTYLESHEET_CASPIAN, STYLESHEET_MODENA| Constructor and Description |
|---|
TestChart() |
TestChart(boolean altRenderer) |
| Modifier and Type | Method and Description |
|---|---|
Node |
getChart(int nSamples) |
void |
initChart() |
static void |
main(String[] args) |
void |
setNumberOfSamples(int nSamples) |
void |
updateDataSet() |
getHeaderBar, startgetHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stopprotected int nSamples
protected final XYChart chart
protected final DefaultNumericAxis xAxis
protected final DefaultNumericAxis yAxis
protected de.gsi.dataset.testdata.spi.SineFunction testFunction
protected final de.gsi.dataset.spi.DoubleDataSet dataSet
public void initChart()
initChart in class AbstractTestApplicationpublic Node getChart(int nSamples)
getChart in interface ChartTestCasepublic void updateDataSet()
updateDataSet in interface ChartTestCasepublic void setNumberOfSamples(int nSamples)
setNumberOfSamples in interface ChartTestCasepublic static void main(String[] args)
Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.