org.rosuda.ibase.toolkit
Class ColorBridge

java.lang.Object
  extended by org.rosuda.ibase.toolkit.ColorBridge

public class ColorBridge
extends java.lang.Object

ColorBridge maps integers, doubles or strings to colors


Field Summary
protected static ColorBridge main
           
 
Constructor Summary
ColorBridge()
           
 
Method Summary
 java.awt.Color getColor(double d)
           
 java.awt.Color getColor(int id)
           
 java.awt.Color getColor(java.lang.String s)
           
static ColorBridge getMain()
           
 void setHCLParameters(double chroma, double luminance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

main

protected static ColorBridge main
Constructor Detail

ColorBridge

public ColorBridge()
Method Detail

setHCLParameters

public void setHCLParameters(double chroma,
                             double luminance)

getMain

public static ColorBridge getMain()

getColor

public java.awt.Color getColor(int id)

getColor

public java.awt.Color getColor(double d)

getColor

public java.awt.Color getColor(java.lang.String s)