Class ChartTableData
java.lang.Object
be.gaudry.swing.component.table.tablechart.ChartTableData
- All Implemented Interfaces:
Comparable<ChartTableData>
- Since:
- 1.0 Sep 2, 2009, 0.0.1-SNAPSHOT
- Version:
- %I%, %G%
- Author:
- Steph GAUDRY
-
Constructor Summary
ConstructorsConstructorDescriptionChartTableData(double value, String label)ChartTableData(double value, String label, ContrastedColor color)ChartTableData(double value, String label, Color background, Color foreground) -
Method Summary
Modifier and TypeMethodDescriptionintgetLabel()doublegetValue()voidsetBackground(Color background)voidsetForeground(Color foreground)voidvoidsetValue(double value)
-
Constructor Details
-
ChartTableData
- Parameters:
value-label-background-foreground-
-
ChartTableData
- Parameters:
value-label-color-
-
ChartTableData
- Parameters:
value-label-
-
ChartTableData
public ChartTableData()
-
-
Method Details
-
getValue
public double getValue()- Returns:
- the value
-
setValue
public void setValue(double value)- Parameters:
value- the value to set
-
getLabel
- Returns:
- the label
-
setLabel
- Parameters:
label- the label to set
-
getBackground
- Returns:
- the background
-
setBackground
- Parameters:
background- the background to set
-
getForeground
- Returns:
- the foreground
-
setForeground
- Parameters:
foreground- the foreground to set
-
compareTo
- Specified by:
compareToin interfaceComparable<ChartTableData>
-