|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.tools.plot.RainbowColorGenerator
RainbowColorGenerator class keeps the map between color and range 0.0 - 1.0 based on the Rainbow approach. This class is based on the singleton pattern.
| Method Summary | |
java.awt.Color |
getColor(double value)
Implementation of the ColorGenerator interface. |
java.awt.Color |
getColor(float value)
Implementation of the ColorGenerator interface. |
static RainbowColorGenerator |
getColorGenerator()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static RainbowColorGenerator getColorGenerator()
public java.awt.Color getColor(float value)
getColor in interface ColorGeneratorpublic java.awt.Color getColor(double value)
getColor in interface ColorGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||