class SourcedPlotElement extends PlotElement
| Modifier and Type | Field and Description |
|---|---|
(package private) SourcedPlotElement | parentThe parent element, or null. |
(package private) String | srcNameThe source name. |
(package private) double[] | valuesThe values. |
color| Constructor and Description |
|---|
SourcedPlotElement(String srcName,
Paint color)Create a SourcedPlotElement. |
SourcedPlotElement(String srcName,
Paint color,
SourcedPlotElement parent)Create a SourcedPlotElement with a parent. |
| Modifier and Type | Method and Description |
|---|---|
(package private) void | assignValues(DataProcessor dproc)Assign values from the data processor. |
(package private) double | getMaxValue()Get the maximum value. |
(package private) double | getMinValue()Get the minimum value. |
(package private) Paint | getParentColor()Get the parent's color. |
(package private) double[] | getValues()Get the values. |
(package private) double[] | stackValues(DataProcessor dproc)Stack values on top of parent values. |
final SourcedPlotElement parent
final String srcName
double[] values
SourcedPlotElement(String srcName, Paint color)
srcName - the source namecolor - the paint colorSourcedPlotElement(String srcName, Paint color, SourcedPlotElement parent)
srcName - the source namecolor - the paint colorparent - the parent element for stackingvoid assignValues(DataProcessor dproc)
dproc - the data processordouble getMaxValue()
double getMinValue()
Paint getParentColor()
double[] getValues()
double[] stackValues(DataProcessor dproc)
dproc - the data processor