Java in a Nutshell Online Quick Reference for Java 1.1
CLASS java.awt.image.ColorModel
Availability: JDK 1.0
public abstract class ColorModel extends Object {
// Public Constructor
public ColorModel(int bits);
// Protected Instance Variables
protected int pixel_bits;
// Class Methods
public static ColorModel getRGBdefault();
// Public Instance Methods
public void finalize(); // Overrides Object.finalize()
public abstract int getAlpha(int pixel);
public abstract int getBlue(int pixel);
public abstract int getGreen(int pixel);
public int getPixelSize();
public int getRGB(int pixel);
public abstract int getRed(int pixel);
}
- Extended By:
-
DirectColorModel,
IndexColorModel.
- Passed To:
-
AreaAveragingScaleFilter.setPixels(),
CropImageFilter.setPixels(),
ImageConsumer.setColorModel(),
ImageConsumer.setPixels(),
ImageFilter.setColorModel(),
ImageFilter.setPixels(),
MemoryImageSource.MemoryImageSource(),
MemoryImageSource.newPixels(),
PixelGrabber.setColorModel(),
PixelGrabber.setPixels(),
ReplicateScaleFilter.setPixels(),
RGBImageFilter.setColorModel(),
RGBImageFilter.setPixels(),
RGBImageFilter.substituteColorModel().
- Returned By:
-
ColorModel.getRGBdefault(),
Component.getColorModel(),
ComponentPeer.getColorModel(),
PixelGrabber.getColorModel(),
Toolkit.getColorModel().
- Type Of:
-
RGBImageFilter.newmodel,
RGBImageFilter.origmodel.
Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan.
Copyright © 1997 by O'Reilly & Associates.