Uses of Class java.awt.image.ColorModel

Uses in package gnu.java.awt.peer.headless

Methods with return type java.awt.image.ColorModel

ColorModel

Uses in package gnu.awt.xlib

Methods with parameter type java.awt.image.ColorModel

void
This ColorModel should indicate the model used by the majority of calls to setPixels.
void
XOffScreenImage.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
Deliver a subset of an ImageProducer's pixels to this ImageConsumer.
void
XOffScreenImage.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
Deliver a subset of an ImageProducer's pixels to this ImageConsumer.

Methods with return type java.awt.image.ColorModel

ColorModel
Returns the color model of the component.
ColorModel
FIXME: I'm not sure which color model that should be returned here.
ColorModel
ColorModel
Gets a color model for the corresponding device which supports the desired transparency level.

Uses in package javax.imageio

Constructors with parameter type java.awt.image.ColorModel

Construct an image type specifier with the given models.

Fields of type java.awt.image.ColorModel

ColorModel
The image's color model.

Methods with return type java.awt.image.ColorModel

ColorModel
Get the color model specified by this image type specifier.

Uses in package gnu.java.awt.peer

Methods with return type java.awt.image.ColorModel

ColorModel
Returns the color model of the component.

Uses in package gnu.java.awt.image

Methods with parameter type java.awt.image.ColorModel

void
void
ImageConverter.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
void
ImageConverter.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
void

Uses in package java.awt.image

Classes derived from java.awt.image.ColorModel

class
class
class
Color model similar to pseudo visual in X11.
class

Constructors with parameter type java.awt.image.ColorModel

BufferedImage.BufferedImage(ColorModel colormodel, WritableRaster writableraster, boolean premultiplied, Hashtable properties)
MemoryImageSource.MemoryImageSource(int w, int h, ColorModel cm, byte[] pix, int off, int scan)
Construct an image producer that reads image data from a byte array.
MemoryImageSource.MemoryImageSource(int w, int h, ColorModel cm, byte[] pix, int off, int scan, Hashtable props)
Constructs an ImageProducer from memory.
MemoryImageSource.MemoryImageSource(int w, int h, ColorModel cm, int[] pix, int off, int scan)
Construct an image producer that reads image data from an integer array.
MemoryImageSource.MemoryImageSource(int w, int h, ColorModel cm, int[] pix, int off, int scan, Hashtable props)
Constructs an ImageProducer from memory

Fields of type java.awt.image.ColorModel

ColorModel
ColorModel

Methods with parameter type java.awt.image.ColorModel

BufferedImage
Creates a new BufferedImage with the size equal to that of the transformed image and the correct number of bands.
BufferedImage
Returns a new BufferedImage that can be used by this BufferedImageOp as the destination image when filtering the specified source image.
BufferedImage
Creates an empty BufferedImage with the size equal to the source and the correct number of bands for the conversion defined in this Op.
BufferedImage
Creates an empty BufferedImage with the size equal to the source and the correct number of bands.
BufferedImage
Returns a new BufferedImage that can be used by this BufferedImageOp as the destination image when filtering the specified source image.
BufferedImage
void
MemoryImageSource.newPixels(byte[] newpix, ColorModel newmodel, int offset, int scansize)
void
MemoryImageSource.newPixels(int[] newpix, ColorModel newmodel, int offset, int scansize)
void
This ColorModel should indicate the model used by the majority of calls to setPixels.
void
Override this method to process calls to this method from the ImageProducer.
void
Our ImageProducer will call setColorModel to indicate the model used by the majority of calls to setPixels.
void
Sets the ColorModel used to filter with.
void
AreaAveragingScaleFilter.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as a byte at index (n * scansize + m + offset).
void
BufferedImageFilter.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, int scansize)
Deliver a subset of an ImageProducer's pixels to this ImageConsumer.
void
CropImageFilter.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as a byte at index (n * scansize + m + offset).
void
ImageConsumer.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
Deliver a subset of an ImageProducer's pixels to this ImageConsumer.
void
ImageFilter.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as a byte at index (n * scansize + m + offset).
void
PixelGrabber.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
Our ImageProducer calls setPixels to deliver a subset of its pixels.
void
ReplicateScaleFilter.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as a byte at index (n * scansize + m + offset).
void
RGBImageFilter.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
If the ColorModel is the same ColorModel which as already converted then it converts it the converted ColorModel.
void
AreaAveragingScaleFilter.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as an int at index (n * scansize + m + offset).
void
BufferedImageFilter.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, int scansize)
Deliver a subset of an ImageProducer's pixels to this ImageConsumer.
void
CropImageFilter.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as an int at index (n * scansize + m + offset).
void
ImageConsumer.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
Deliver a subset of an ImageProducer's pixels to this ImageConsumer.
void
ImageFilter.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as an int at index (n * scansize + m + offset).
void
PixelGrabber.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
Our ImageProducer calls setPixels to deliver a subset of its pixels.
void
ReplicateScaleFilter.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as an int at index (n * scansize + m + offset).
void
RGBImageFilter.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as an int at index (n * scansize + m + offset).
void
Registers a new ColorModel to subsitute for the old ColorModel when setPixels encounters the a pixel with the old ColorModel.

Methods with return type java.awt.image.ColorModel

ColorModel
ColorModel.coerceData(WritableRaster raster, boolean isAlphaPremultiplied)
ColorModel
ComponentColorModel.coerceData(WritableRaster raster, boolean isAlphaPremultiplied)
ColorModel
DirectColorModel.coerceData(WritableRaster raster, boolean isAlphaPremultiplied)
ColorModel
ColorModel
ColorModel
ColorModel
Returns the default color model which in Sun's case is an instance of DirectColorModel.

Uses in package gnu.java.awt.peer.swing

Methods with return type java.awt.image.ColorModel

ColorModel
Returns the color model of the component.

Uses in package gnu.awt.j2d

Constructors with parameter type java.awt.image.ColorModel

Methods with return type java.awt.image.ColorModel

ColorModel

Uses in package gnu.java.awt

Methods with parameter type java.awt.image.ColorModel

CompositeContext
BitwiseXORComposite.createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints)
Creates a context object for performing the compositing operation.
WritableRaster
Returns an appropriate Raster that can efficiently back a BufferedImage with the given ColorModel and SampleModel.

Methods with return type java.awt.image.ColorModel

ColorModel
Return the color model of this context.

Uses in package gnu.java.awt.peer.gtk

Methods with parameter type java.awt.image.ColorModel

WritableRaster
Returns an appropriate Raster that can efficiently back a BufferedImage with the given ColorModel and SampleModel.
int[]
Used by drawRaster and GdkPixbufDecoder
boolean
Returns whether this ColorModel is compatible with Cairo's native types.
void
void
GtkImageConsumer.setPixels(int x, int y, int width, int height, ColorModel cm, byte[] pixels, int offset, int scansize)
void
GtkImageConsumer.setPixels(int x, int y, int width, int height, ColorModel cm, int[] pixels, int offset, int scansize)

Methods with return type java.awt.image.ColorModel

ColorModel
ColorModel
Returns the Color Model describing the buffer that this peer uses for custom composites.
ColorModel
Returns the Color Model describing the buffer that this peer uses for custom composites.
ColorModel
Gets the color model of the corresponding device.
ColorModel
Returns the color model of the component.
ColorModel
Returns the native color model (which isn't the same as the default ARGB color model, but doesn't have to be).
ColorModel
Gets a color model for the corresponding device which supports the desired transparency level.
ColorModel
ColorModel
Returns the Colour Model describing the native, raw image data for this specific peer.
ColorModel
Returns the Colour Model describing the native, raw image data for this specific peer.
ColorModel
Returns the Colour Model describing the native, raw image data for this specific peer.
ColorModel

Uses in package java.awt

Methods with parameter type java.awt.image.ColorModel

PaintContext
Color.createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
Returns a paint context, used for filling areas of a raster scan with this color.
PaintContext
Returns the PaintContext used to generate the color pattern.
PaintContext
Paint.createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
Create the context necessary for performing the color pattern generation.
PaintContext
Returns a paint context, used for filling areas of a raster scan with the current value of this system color.
PaintContext
Creates the context used to paint the texture.
CompositeContext
AlphaComposite.createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints)
Creates a CompositeContext that can be used to perform compositing operations according to this AlphaComposite settings.
CompositeContext
Composite.createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints)
Create a context state for performing the compositing operation.

Methods with return type java.awt.image.ColorModel

ColorModel
Returns the color model of the device this componet is displayed on.
ColorModel
Gets the color model of the corresponding device.
ColorModel
Return the color model of this context.
ColorModel
Returns the color model of the screen.
ColorModel
Gets a color model for the corresponding device which supports the desired transparency level.

Uses in package gnu.java.awt.peer.x

Methods with return type java.awt.image.ColorModel

ColorModel
ColorModel
Returns the color model of this Graphics object.
ColorModel
Gets the color model of the corresponding device.
ColorModel
Returns the color model used by this toolkit.
ColorModel
Gets a color model for the corresponding device which supports the desired transparency level.
ColorModel
Returns the color model of the target device.

Uses in package gnu.java.awt.peer.qt

Methods with parameter type java.awt.image.ColorModel

void
void
QtImageConsumer.setPixels(int x, int y, int width, int height, ColorModel cm, byte[] pixels, int offset, int scansize)
void
QtImageConsumer.setPixels(int x, int y, int width, int height, ColorModel cm, int[] pixels, int offset, int scansize)

Methods with return type java.awt.image.ColorModel

ColorModel
Returns the color model of the component.
ColorModel
Gets the color model of the corresponding device.
ColorModel
ColorModel
Gets a color model for the corresponding device which supports the desired transparency level.

Uses in package java.awt.peer

Methods with return type java.awt.image.ColorModel

ColorModel
Returns the color model of the component.

Uses in package gnu.java.awt.java2d

Constructors with parameter type java.awt.image.ColorModel

Creates a new AlphaCompositeContext.

Methods with parameter type java.awt.image.ColorModel

PaintContext
ImagePaint.createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)

Methods with return type java.awt.image.ColorModel

ColorModel
Returns the color model of this Graphics object.
ColorModel
Returns the color model of this Graphics object.
ColorModel
Returns the color model of this PaintContext.

Uses in package gnu.javax.imageio.png

Methods with return type java.awt.image.ColorModel

ColorModel
PNGDecoder.getColorModel(ColorSpace cs, int colorType, int depth)