public class ConstantLine extends Line
parent, srcName, valuescolor| Constructor and Description |
|---|
ConstantLine(double value,
Paint color,
BasicStroke stroke,
SourcedPlotElement parent)Creates a constant line with the specified value, color, stroke, and parent. |
| Modifier and Type | Method and Description |
|---|---|
(package private) void | assignValues(DataProcessor dproc)Assigns constant values to all data points, optionally stacking with parent values. |
getMaxValue, getMinValue, getParentColor, getValues, stackValuesConstantLine(double value,
Paint color,
BasicStroke stroke,
SourcedPlotElement parent)value - the constant value for all data pointscolor - the line colorstroke - the line stroke styleparent - the parent plot element for stackingvoid assignValues(DataProcessor dproc)
assignValues in class SourcedPlotElementdproc - the data processor for value assignment