Package lu.kbra.pclib.swing
Class JLineGraph.ChartData
java.lang.Object
lu.kbra.pclib.swing.JLineGraph.ChartData
- All Implemented Interfaces:
JLineGraph.LineChartData
- Enclosing class:
JLineGraph
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Colorprotected floatprotected booleanprotected Colorprotected IntToDoubleFunctionprotected Collection<Double> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledoublefloatintdoublegetValue(int i) booleanisBorder()booleanisFill()setBorder(boolean border) setBorderColor(Color borderColor) setBorderWidth(float width) setFill(boolean fill) setFillColor(Color fillColor) setValues(Collection<Double> values, IntToDoubleFunction func)
-
Field Details
-
values
-
valueGetter
-
fill
protected boolean fill -
border
protected boolean border -
fillColor
-
borderColor
-
borderWidth
protected float borderWidth
-
-
Constructor Details
-
ChartData
public ChartData() -
ChartData
-
ChartData
-
-
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
-
getValue
public double getValue(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
-
setValues
-