All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.hdf.awt.image.ImageColorModel

java.lang.Object
   |
   +----ncsa.hdf.awt.image.ImageColorModel

public class ImageColorModel
extends Object
set up the color model for displaying the image created by the data sets from the file


Variable Index

 o blue
 o green
 o red

Constructor Index

 o ImageColorModel()
default color model
 o ImageColorModel(byte[])
create the new color model
 o ImageColorModel(byte[], byte[], byte[])
create the new color model
 o ImageColorModel(char[])
create the new color model
 o ImageColorModel(int, int, int)
Create the new color model

Method Index

 o getBlue()
 o getColorModel()
get the color model value
 o getGreen()
 o getRed()

Variables

 o red
 public byte red[]
 o green
 public byte green[]
 o blue
 public byte blue[]

Constructors

 o ImageColorModel
 public ImageColorModel(int r,
                        int g,
                        int b)
Create the new color model

Parameters:
r - the red value
g - the green value
b - the blue value
 o ImageColorModel
 public ImageColorModel()
default color model

 o ImageColorModel
 public ImageColorModel(byte rgb[])
create the new color model

Parameters:
rgb - rgb value
 o ImageColorModel
 public ImageColorModel(byte r[],
                        byte g[],
                        byte b[])
create the new color model

Parameters:
red - The array of red color components.
green - The array of green color components.
blue - The array of blue color components.
 o ImageColorModel
 public ImageColorModel(char rgb[])
create the new color model

Parameters:
rgb - rgb value

Methods

 o getColorModel
 public IndexColorModel getColorModel()
get the color model value

 o getRed
 public byte[] getRed()
 o getGreen
 public byte[] getGreen()
 o getBlue
 public byte[] getBlue()

All Packages  Class Hierarchy  This Package  Previous  Next  Index