KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > awt > image > ComponentColorModel

java.awt.image
Class ComponentColorModel

java.lang.Object
  extended by java.awt.image.ColorModel
      extended by java.awt.image.ComponentColorModel
All Implemented Interfaces:
Transparency
See Also:
Top Examples, Source Code, ColorSpace, ComponentSampleModel, BandedSampleModel, PixelInterleavedSampleModel, BufferedImage

public ColorModel coerceData(WritableRaster raster,
                             boolean isAlphaPremultiplied)
See Also:
UnsupportedOperationException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ComponentColorModel(ColorSpace colorSpace,
                           boolean hasAlpha,
                           boolean isAlphaPremultiplied,
                           int transparency,
                           int transferType)
See Also:
Transparency, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ComponentColorModel(ColorSpace colorSpace,
                           int[] bits,
                           boolean hasAlpha,
                           boolean isAlphaPremultiplied,
                           int transparency,
                           int transferType)
See Also:
Transparency, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public SampleModel createCompatibleSampleModel(int w,
                                               int h)
See Also:
ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public WritableRaster createCompatibleWritableRaster(int w,
                                                     int h)
See Also:
SampleModel, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean equals(Object obj)
See Also:
Hashtable, Object.hashCode(), ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getAlpha(int pixel)
See Also:
IllegalArgumentException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getAlpha(Object inData)
See Also:
UnsupportedOperationException, ArrayIndexOutOfBoundsException, ClassCastException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public WritableRaster getAlphaRaster(WritableRaster raster)
See Also:
ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getBlue(int pixel)
See Also:
IllegalArgumentException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getBlue(Object inData)
See Also:
UnsupportedOperationException, ArrayIndexOutOfBoundsException, ClassCastException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int[] getComponents(int pixel,
                           int[] components,
                           int offset)
See Also:
ArrayIndexOutOfBoundsException, IllegalArgumentException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int[] getComponents(Object pixel,
                           int[] components,
                           int offset)
See Also:
IllegalArgumentException, ClassCastException, UnsupportedOperationException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getDataElement(float[] normComponents,
                          int normOffset)
See Also:
ArrayIndexOutOfBoundsException, IllegalArgumentException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getDataElement(int[] components,
                          int offset)
See Also:
IllegalArgumentException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object getDataElements(float[] normComponents,
                              int normOffset,
                              Object obj)
See Also:
SampleModel.setDataElements(int, int, java.lang.Object, java.awt.image.DataBuffer), WritableRaster.setDataElements(int, int, java.lang.Object), ArrayIndexOutOfBoundsException, ClassCastException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object getDataElements(int rgb,
                              Object pixel)
See Also:
SampleModel.setDataElements(int, int, java.lang.Object, java.awt.image.DataBuffer), WritableRaster.setDataElements(int, int, java.lang.Object), UnsupportedOperationException, ArrayIndexOutOfBoundsException, ClassCastException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object getDataElements(int[] components,
                              int offset,
                              Object obj)
See Also:
SampleModel.setDataElements(int, int, java.lang.Object, java.awt.image.DataBuffer), WritableRaster.setDataElements(int, int, java.lang.Object), UnsupportedOperationException, IllegalArgumentException, ArrayIndexOutOfBoundsException, ClassCastException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getGreen(int pixel)
See Also:
IllegalArgumentException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getGreen(Object inData)
See Also:
UnsupportedOperationException, ArrayIndexOutOfBoundsException, ClassCastException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public float[] getNormalizedComponents(int[] components,
                                       int offset,
                                       float[] normComponents,
                                       int normOffset)
See Also:
IllegalArgumentException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public float[] getNormalizedComponents(Object pixel,
                                       float[] normComponents,
                                       int normOffset)
See Also:
ArrayIndexOutOfBoundsException, ClassCastException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getRed(int pixel)
See Also:
IllegalArgumentException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getRed(Object inData)
See Also:
UnsupportedOperationException, ArrayIndexOutOfBoundsException, ClassCastException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getRGB(int pixel)
See Also:
ColorModel.getRGBdefault(), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getRGB(Object inData)
See Also:
ColorModel.getRGBdefault(), UnsupportedOperationException, ArrayIndexOutOfBoundsException, ClassCastException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int[] getUnnormalizedComponents(float[] normComponents,
                                       int normOffset,
                                       int[] components,
                                       int offset)
See Also:
IllegalArgumentException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isCompatibleRaster(Raster raster)
See Also:
ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isCompatibleSampleModel(SampleModel sm)
See Also:
ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags