KickJava   Java API By Example, From Geeks To Geeks.

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

java.awt.image
Class ComponentSampleModel

java.lang.Object
  extended by java.awt.image.SampleModel
      extended by java.awt.image.ComponentSampleModel
Direct Known Subclasses:
BandedSampleModel, PixelInterleavedSampleModel
See Also:
Top Examples, Source Code, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_SHORT, TYPE_USHORT, TYPE_BYTE

protected int[] bandOffsets
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int[] bankIndices
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ComponentSampleModel(int dataType,
                            int w,
                            int h,
                            int pixelStride,
                            int scanlineStride,
                            int[] bandOffsets)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ComponentSampleModel(int dataType,
                            int w,
                            int h,
                            int pixelStride,
                            int scanlineStride,
                            int[] bankIndices,
                            int[] bandOffsets)
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
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DataBuffer createDataBuffer()
See Also:
SampleModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public SampleModel createSubsetSampleModel(int[] bands)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


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


public Object getDataElements(int x,
                              int y,
                              Object obj,
                              DataBuffer data)
See Also:
setDataElements(int, int, Object, DataBuffer), ArrayIndexOutOfBoundsException, NullPointerException, SampleModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getNumDataElements()
See Also:
SampleModel.getNumBands(), setDataElements(int, int, Object, DataBuffer), getDataElements(int, int, Object, DataBuffer)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getOffset(int x,
                     int y)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getOffset(int x,
                     int y,
                     int b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int[] getPixel(int x,
                      int y,
                      int[] iArray,
                      DataBuffer data)
See Also:
setPixel(int, int, int[], DataBuffer), ArrayIndexOutOfBoundsException, NullPointerException, SampleModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int[] getPixels(int x,
                       int y,
                       int w,
                       int h,
                       int[] iArray,
                       DataBuffer data)
See Also:
setPixels(int, int, int, int, int[], DataBuffer), SampleModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public int getSample(int x,
                     int y,
                     int b,
                     DataBuffer data)
See Also:
setSample(int, int, int, int, DataBuffer), SampleModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public double getSampleDouble(int x,
                              int y,
                              int b,
                              DataBuffer data)
See Also:
SampleModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public float getSampleFloat(int x,
                            int y,
                            int b,
                            DataBuffer data)
See Also:
SampleModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int[] getSamples(int x,
                        int y,
                        int w,
                        int h,
                        int b,
                        int[] iArray,
                        DataBuffer data)
See Also:
setSamples(int, int, int, int, int, int[], DataBuffer), SampleModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public final int getSampleSize(int band)
See Also:
SampleModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


protected int numBands
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int numBanks
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int pixelStride
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int scanlineStride
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setDataElements(int x,
                            int y,
                            Object obj,
                            DataBuffer data)
See Also:
getDataElements(int, int, Object, DataBuffer), SampleModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setPixel(int x,
                     int y,
                     int[] iArray,
                     DataBuffer data)
See Also:
getPixel(int, int, int[], DataBuffer), SampleModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setPixels(int x,
                      int y,
                      int w,
                      int h,
                      int[] iArray,
                      DataBuffer data)
See Also:
getPixels(int, int, int, int, int[], DataBuffer), SampleModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSample(int x,
                      int y,
                      int b,
                      double s,
                      DataBuffer data)
See Also:
getSample(int, int, int, DataBuffer), SampleModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSample(int x,
                      int y,
                      int b,
                      float s,
                      DataBuffer data)
See Also:
getSample(int, int, int, DataBuffer), SampleModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSample(int x,
                      int y,
                      int b,
                      int s,
                      DataBuffer data)
See Also:
getSample(int, int, int, DataBuffer), SampleModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSamples(int x,
                       int y,
                       int w,
                       int h,
                       int b,
                       int[] iArray,
                       DataBuffer data)
See Also:
getSamples(int, int, int, int, int, int[], DataBuffer), SampleModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags