Generated by
JDiff

Class java.awt.image.IndexColorModel

Documentation changed from old to new.

Added Constructors
IndexColorModel(int, int, int[], int, int, BigInteger) Constructs an IndexColorModel from an int array where each int is comprised of red green blue and alpha components in the default RGB color model format.
 

Changed Constructors
IndexColorModel(int, int, byte[], byte[], byte[]) Documentation changed from old to new.
Constructs an IndexColorModel from the specified arrays of red green and blue components.
IndexColorModel(int, int, byte[], byte[], byte[], byte[]) Documentation changed from old to new.
Constructs an IndexColorModel from the given arrays of red green blue and alpha components.
IndexColorModel(int, int, byte[], byte[], byte[], int) Documentation changed from old to new.
Constructs an IndexColorModel from the given arrays of red green and blue components.
IndexColorModel(int, int, byte[], int, boolean) Documentation changed from old to new.
Constructs an IndexColorModel from a single array of interleaved red green blue and optional alpha components.
IndexColorModel(int, int, byte[], int, boolean, int) Documentation changed from old to new.
Constructs an IndexColorModel from a single array of interleaved red green blue and optional alpha components.
IndexColorModel(int, int, int[], int, boolean, int, int) Documentation changed from old to new.
Constructs an IndexColorModel from an array of ints where each int is comprised of red green blue and optional alpha components in the default RGB color model format.
 

Added Methods
BigInteger getValidPixels() Returns a BigInteger that indicates the valid/invalid pixels in the colormap.
boolean isValid() Returns whether or not all of the pixels are valid.
boolean isValid(int) Returns whether or not the pixel is valid.
 

Changed Methods
BufferedImage convertToIntDiscrete(Raster, boolean) Documentation changed from old to new.
Returns a new BufferedImage of TYPE_INT_ARGB or TYPE_INT_RGB that has a Raster with pixel data computed by expanding the indices in the source Raster using the color/alpha component arrays of this ColorModel.
SampleModel createCompatibleSampleModel(int, int) Documentation changed from old to new.
Creates a SampleModel with the specified width and height that has a data layout compatible with this ColorModel.
WritableRaster createCompatibleWritableRaster(int, int) Documentation changed from old to new.
Creates a WritableRaster with the specified width and height that has a data layout (SampleModel) compatible with this ColorModel.
void finalize() Documentation changed from old to new.
Disposes of system resources associated with this ColorModel once this ColorModel is no longer referenced.
void getAlphas(byte[]) Documentation changed from old to new.
Copies the array of alpha transparency components into the specified array.
void getBlues(byte[]) Documentation changed from old to new.
Copies the array of blue color components into the specified array.
int getDataElement(int[], int) Documentation changed from old to new.
Returns a pixel value represented as an int in this ColorModel given an array of unnormalized color/alpha components.
void getGreens(byte[]) Documentation changed from old to new.
Copies the array of green color components into the specified array.
int getMapSize() Documentation changed from old to new.
Returns the size of the color/alpha component arrays in this IndexColorModel.
void getRGBs(int[]) Documentation changed from old to new.
Converts data for each index from the color and alpha component arrays to an int in the default RGB ColorModel format and copies the resulting 32-bit ARGB values into the specified array.
void getReds(byte[]) Documentation changed from old to new.
Copies the array of red color components into the specified array.
int getTransparency() Documentation changed from old to new.
Returns the transparency.
int getTransparentPixel() Documentation changed from old to new.
Returns the index of the transparent pixel in this IndexColorModel or -1 if there is no transparent pixel.
boolean isCompatibleRaster(Raster) Documentation changed from old to new.
Returns true if raster is compatible with this ColorModel or false if it is not compatible with this ColorModel.
boolean isCompatibleSampleModel(SampleModel) Documentation changed from old to new.
Checks if the specified SampleModel is compatible with this ColorModel.
String toString() Documentation changed from old to new.
Returns the String representation of the contents of this ColorModelobject.
int getAlpha(int) Documentation changed from old to new.
Returns the alpha component for the specified pixel scaled from 0 to 255.
int getBlue(int) Documentation changed from old to new.
Returns the blue color component for the specified pixel scaled from 0 to 255 in the default RGB ColorSpace sRGB.
int[] getComponentSize() Documentation changed from old to new.
Returns an array of the number of bits for each color/alpha component.
int[] getComponents(int, int[], int) Documentation changed from old to new.
Returns an array of unnormalized color/alpha components for a specified pixel in this ColorModel.
int[] getComponents(Object, int[], int) Documentation changed from old to new.
Returns an array of unnormalized color/alpha components for a specified pixel in this ColorModel.
Object getDataElements(int, Object) Documentation changed from old to new.
Changed from non-synchronized to synchronized.
Returns a data element array representation of a pixel in this ColorModel given an integer pixel representation in the default RGB color model.
Object getDataElements(int[], int, Object) Documentation changed from old to new.
Returns a data element array representation of a pixel in this ColorModel given an array of unnormalized color/alpha components.
int getGreen(int) Documentation changed from old to new.
Returns the green color component for the specified pixel scaled from 0 to 255 in the default RGB ColorSpace sRGB.
int getRGB(int) Documentation changed from old to new.
Returns the color/alpha components of the pixel in the default RGB color model format.
int getRed(int) Documentation changed from old to new.
Returns the red color component for the specified pixel scaled from 0 to 255 in the default RGB ColorSpace sRGB.