gov.noaa.pmel.sgt
Interface IndexedColor

All Known Implementing Classes:
CLIndexedColorMap, IndexedColorMap

public interface IndexedColor

Defines the access methods for color maps that support indexed color.

Since:
2.0
Version:
$Revision$, $Date$
Author:
Donald Denbo

Method Summary
 java.awt.Color getColorByIndex(int index)
           
 int getMaximumIndex()
          Get the maximum legal value of the color index.
 void setColor(int index, java.awt.Color color)
           
 void setColor(int index, int red, int green, int blue)
           
 

Method Detail

getColorByIndex

java.awt.Color getColorByIndex(int index)
Parameters:
index -
Returns:
Since:
3.0

setColor

void setColor(int index,
              java.awt.Color color)

setColor

void setColor(int index,
              int red,
              int green,
              int blue)

getMaximumIndex

int getMaximumIndex()
Get the maximum legal value of the color index.