KickJava   Java API By Example, From Geeks To Geeks.

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

java.awt.image
Class IndexColorModel

java.lang.Object
  extended by java.awt.image.ColorModel
      extended by java.awt.image.IndexColorModel
All Implemented Interfaces:
Transparency
See Also:
Top Examples, Source Code, ColorSpace, DataBuffer

public BufferedImage convertToIntDiscrete(Raster raster,
                                          boolean forceARGB)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


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


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


public final void getAlphas(byte[] a)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public final void getBlues(byte[] b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


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


public int getDataElement(int[] components,
                          int offset)
See Also:
UnsupportedOperationException, ArrayIndexOutOfBoundsException, 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 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 final int getGreen(int pixel)
See Also:
ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final void getGreens(byte[] g)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getMapSize()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public final void getReds(byte[] r)
See Also:
getMapSize
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public final void getRGBs(int[] rgb)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getTransparency()
See Also:
Transparency.TRANSLUCENT, Transparency.BITMASK, Transparency.OPAQUE, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getTransparentPixel()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public BigInteger getValidPixels()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public IndexColorModel(int bits,
                       int size,
                       byte[] r,
                       byte[] g,
                       byte[] b)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public IndexColorModel(int bits,
                       int size,
                       byte[] r,
                       byte[] g,
                       byte[] b,
                       byte[] a)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public IndexColorModel(int bits,
                       int size,
                       byte[] r,
                       byte[] g,
                       byte[] b,
                       int trans)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public IndexColorModel(int bits,
                       int size,
                       byte[] cmap,
                       int start,
                       boolean hasalpha)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public IndexColorModel(int bits,
                       int size,
                       byte[] cmap,
                       int start,
                       boolean hasalpha,
                       int trans)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public IndexColorModel(int bits,
                       int size,
                       int[] cmap,
                       int start,
                       boolean hasalpha,
                       int trans,
                       int transferType)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public IndexColorModel(int bits,
                       int size,
                       int[] cmap,
                       int start,
                       int transferType,
                       BigInteger validBits)
See Also:
IllegalArgumentException
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  


public boolean isValid()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isValid(int pixel)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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

Popular Tags