Package lu.kbra.pclib.swing
Class JLineGraph.RangeChartData
java.lang.Object
lu.kbra.pclib.swing.JLineGraph.RangeChartData
- All Implemented Interfaces:
JLineGraph.LineChartData
- Enclosing class:
- JLineGraph
key < value
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Colorprotected floatprotected booleanprotected Colorprotected IntToDoubleFunctionprotected IntToDoubleFunctionprotected Collection<Pair<Double,Double>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledoublefloatintdoublegetMaxValue(int i) doublegetMinValue(int i) booleanisBorder()booleanisFill()setBorder(boolean border) setBorderColor(Color borderColor) setBorderWidth(float width) setFill(boolean fill) setFillColor(Color fillColor) setValues(Collection<Pair<Double, Double>> values, IntToDoubleFunction funcMin, IntToDoubleFunction funcMax)
-
Field Details
-
values
-
valueMinGetter
-
valueMaxGetter
-
fill
protected boolean fill -
border
protected boolean border -
fillColor
-
borderColor
-
borderWidth
protected float borderWidth
-
-
Constructor Details
-
RangeChartData
public RangeChartData() -
RangeChartData
-
RangeChartData
-
-
Method Details
-
computeMaxValue
public double computeMaxValue()- Specified by:
computeMaxValuein interfaceJLineGraph.LineChartData
-
computeMinValue
public double computeMinValue()- Specified by:
computeMinValuein interfaceJLineGraph.LineChartData
-
getBorderColor
- Specified by:
getBorderColorin interfaceJLineGraph.LineChartData
-
getBorderWidth
public float getBorderWidth()- Specified by:
getBorderWidthin interfaceJLineGraph.LineChartData
-
getFillColor
- Specified by:
getFillColorin interfaceJLineGraph.LineChartData
-
getLength
public int getLength()- Specified by:
getLengthin interfaceJLineGraph.LineChartData
-
getMaxValue
public double getMaxValue(int i) -
getMinValue
public double getMinValue(int i) -
getValues
-
isBorder
public boolean isBorder()- Specified by:
isBorderin interfaceJLineGraph.LineChartData
-
isFill
public boolean isFill()- Specified by:
isFillin interfaceJLineGraph.LineChartData
-
setBorder
-
setBorderColor
-
setBorderWidth
-
setFill
-
setFillColor
-
setValues
public JLineGraph.LineChartData setValues(Collection<Pair<Double, Double>> values, IntToDoubleFunction funcMin, IntToDoubleFunction funcMax) -
setValues
-