gov.noaa.pmel.sgt
Interface IndexedColor

All Known Implementing Classes:
IndexedColorMap, CLIndexedColorMap

public interface IndexedColor

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

Since:
2.0
Version:
$Revision: 1.2 $, $Date: 2001/01/31 23:41:04 $
Author:
Donald Denbo

Method Summary
 java.awt.Color getColor(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

getColor

public java.awt.Color getColor(int index)

setColor

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

setColor

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

getMaximumIndex

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


Send comments about the Scientific Graphics toolkit to dwd@pmel.noaa.gov. For more information about Java Development in the EPIC Group see the EPIC Software Page
Generated on December 13 2001