gov.noaa.pmel.util
Class IndexedColorMap

java.lang.Object
  extended by gov.noaa.pmel.util.IndexedColorMap

public class IndexedColorMap
extends java.lang.Object


Constructor Summary
IndexedColorMap(ColorMap inCM, int numColors)
           
IndexedColorMap(IndexedColorMap inMap)
           
 
Method Summary
 java.awt.Color getColor(double inVal)
           
 java.awt.Color getColor(int index)
           
 java.awt.Color[] getColors()
           
 java.lang.String getParamName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexedColorMap

public IndexedColorMap(ColorMap inCM,
                       int numColors)

IndexedColorMap

public IndexedColorMap(IndexedColorMap inMap)
Method Detail

getColor

public java.awt.Color getColor(double inVal)

getColor

public java.awt.Color getColor(int index)

getColors

public java.awt.Color[] getColors()

getParamName

public java.lang.String getParamName()