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
ConstructorDescriptionChartTableData(double value, String label)
ChartTableData(double value, String label, ContrastedColor color)
ChartTableData(double value, String label, Color background, Color foreground)
-
Method Summary
Modifier and TypeMethodDescriptionint
getLabel()
double
getValue()
void
setBackground(Color background)
void
setForeground(Color foreground)
void
void
setValue(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:
compareTo
in interfaceComparable<ChartTableData>
-