KickJava   Java API By Example, From Geeks To Geeks.

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

java.awt.image
Class DataBuffer

java.lang.Object
  extended by java.awt.image.DataBuffer
Direct Known Subclasses:
DataBufferByte, DataBufferDouble, DataBufferFloat, DataBufferInt, DataBufferShort, DataBufferUShort
See Also:
Top Examples, Source Code, Raster, SampleModel

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


protected DataBuffer(int dataType,
                     int size)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected DataBuffer(int dataType,
                     int size,
                     int numBanks)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected DataBuffer(int dataType,
                     int size,
                     int numBanks,
                     int offset)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected DataBuffer(int dataType,
                     int size,
                     int numBanks,
                     int[] offsets)
See Also:
ArrayIndexOutOfBoundsException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


public static int getDataTypeSize(int type)
See Also:
TYPE_DOUBLE, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getElem(int i)
See Also:
setElem(int, int, int), setElem(int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract int getElem(int bank,
                            int i)
See Also:
setElem(int, int, int), setElem(int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public double getElemDouble(int i)
See Also:
setElemDouble(int, int, double), setElemDouble(int, double), getElem(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public double getElemDouble(int bank,
                            int i)
See Also:
setElemDouble(int, int, double), setElemDouble(int, double)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public float getElemFloat(int i)
See Also:
setElemFloat(int, int, float), setElemFloat(int, float)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public float getElemFloat(int bank,
                          int i)
See Also:
setElemFloat(int, int, float), setElemFloat(int, float), getElem(int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


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


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


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


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


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


public void setElem(int i,
                    int val)
See Also:
getElem(int, int), getElem(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract void setElem(int bank,
                             int i,
                             int val)
See Also:
getElem(int, int), getElem(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setElemDouble(int i,
                          double val)
See Also:
getElemDouble(int, int), getElemDouble(int), setElem(int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setElemDouble(int bank,
                          int i,
                          double val)
See Also:
getElemDouble(int, int), getElemDouble(int), setElem(int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setElemFloat(int i,
                         float val)
See Also:
getElemFloat(int, int), getElemFloat(int), setElem(int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setElemFloat(int bank,
                         int i,
                         float val)
See Also:
getElemFloat(int, int), getElemFloat(int), setElem(int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public static final int TYPE_BYTE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int TYPE_DOUBLE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int TYPE_FLOAT
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int TYPE_INT
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int TYPE_SHORT
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int TYPE_UNDEFINED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int TYPE_USHORT
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags