public class BMIColorProvider extends java.lang.Object implements ColorProvider
Constructor and Description |
---|
BMIColorProvider() |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor(float weight,
int value)
Returns the color for the supplied value
|
public java.awt.Color getColor(float weight, int value)
getColor
in interface ColorProvider
weight
- ignoredvalue
- returns colors based on the value