|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DataBuffer | |
java.awt.image | Provides classes for creating and modifying images. |
Uses of DataBuffer in java.awt.image |
Subclasses of DataBuffer in java.awt.image | |
class |
DataBufferByte
This class extends DataBuffer and stores data internally as bytes. |
class |
DataBufferDouble
This class extends DataBuffer and stores data internally
in double form. |
class |
DataBufferFloat
This class extends DataBuffer and stores data internally
in float form. |
class |
DataBufferInt
This class extends DataBuffer and stores data internally
as integers. |
class |
DataBufferShort
This class extends DataBuffer and stores data internally as shorts. |
class |
DataBufferUShort
This class extends DataBuffer and stores data internally as
shorts. |
Fields in java.awt.image declared as DataBuffer | |
protected DataBuffer |
Raster.dataBuffer
The DataBuffer that stores the image data. |
Methods in java.awt.image that return DataBuffer | |
DataBuffer |
MultiPixelPackedSampleModel.createDataBuffer()
Creates a DataBuffer that corresponds to this
MultiPixelPackedSampleModel . |
DataBuffer |
BandedSampleModel.createDataBuffer()
Creates a DataBuffer that corresponds to this BandedSampleModel, The DataBuffer's data type, number of banks, and size will be consistent with this BandedSampleModel. |
DataBuffer |
ComponentSampleModel.createDataBuffer()
Creates a DataBuffer that corresponds to this
ComponentSampleModel . |
DataBuffer |
SinglePixelPackedSampleModel.createDataBuffer()
Creates a DataBuffer that corresponds to this SinglePixelPackedSampleModel. |
abstract DataBuffer |
SampleModel.createDataBuffer()
Creates a DataBuffer that corresponds to this SampleModel. |
DataBuffer |
Raster.getDataBuffer()
Returns the DataBuffer associated with this Raster. |
Methods in java.awt.image with parameters of type DataBuffer | |
int |
MultiPixelPackedSampleModel.getSample(int x,
int y,
int b,
DataBuffer data)
Returns as int the sample in a specified band for the
pixel located at (x, y). |
void |
MultiPixelPackedSampleModel.setSample(int x,
int y,
int b,
int s,
DataBuffer data)
Sets a sample in the specified band for the pixel located at (x, y) in the DataBuffer using an
int for input. |
Object |
MultiPixelPackedSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type TransferType. |
int[] |
MultiPixelPackedSampleModel.getPixel(int x,
int y,
int[] iArray,
DataBuffer data)
Returns the specified single band pixel in the first element of an int array. |
void |
MultiPixelPackedSampleModel.setDataElements(int x,
int y,
Object obj,
DataBuffer data)
Sets the data for a single pixel in the specified DataBuffer from a primitive array of type
TransferType. |
void |
MultiPixelPackedSampleModel.setPixel(int x,
int y,
int[] iArray,
DataBuffer data)
Sets a pixel in the DataBuffer using an
int array for input. |
Object |
BandedSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type TransferType. |
int[] |
BandedSampleModel.getPixel(int x,
int y,
int[] iArray,
DataBuffer data)
Returns all samples for the specified pixel in an int array. |
int[] |
BandedSampleModel.getPixels(int x,
int y,
int w,
int h,
int[] iArray,
DataBuffer data)
Returns all samples for the specified rectangle of pixels in an int array, one sample per data array element. |
int |
BandedSampleModel.getSample(int x,
int y,
int b,
DataBuffer data)
Returns as int the sample in a specified band for the pixel located at (x,y). |
float |
BandedSampleModel.getSampleFloat(int x,
int y,
int b,
DataBuffer data)
Returns the sample in a specified band for the pixel located at (x,y) as a float. |
double |
BandedSampleModel.getSampleDouble(int x,
int y,
int b,
DataBuffer data)
Returns the sample in a specified band for a pixel located at (x,y) as a double. |
int[] |
BandedSampleModel.getSamples(int x,
int y,
int w,
int h,
int b,
int[] iArray,
DataBuffer data)
Returns the samples in a specified band for the specified rectangle of pixels in an int array, one sample per data array element. |
void |
BandedSampleModel.setDataElements(int x,
int y,
Object obj,
DataBuffer data)
Sets the data for a single pixel in the specified DataBuffer from a primitive array of type TransferType. |
void |
BandedSampleModel.setPixel(int x,
int y,
int[] iArray,
DataBuffer data)
Sets a pixel in the DataBuffer using an int array of samples for input. |
void |
BandedSampleModel.setPixels(int x,
int y,
int w,
int h,
int[] iArray,
DataBuffer data)
Sets all samples for a rectangle of pixels from an int array containing one sample per array element. |
void |
BandedSampleModel.setSample(int x,
int y,
int b,
int s,
DataBuffer data)
Sets a sample in the specified band for the pixel located at (x,y) in the DataBuffer using an int for input. |
void |
BandedSampleModel.setSample(int x,
int y,
int b,
float s,
DataBuffer data)
Sets a sample in the specified band for the pixel located at (x,y) in the DataBuffer using a float for input. |
void |
BandedSampleModel.setSample(int x,
int y,
int b,
double s,
DataBuffer data)
Sets a sample in the specified band for the pixel located at (x,y) in the DataBuffer using a double for input. |
void |
BandedSampleModel.setSamples(int x,
int y,
int w,
int h,
int b,
int[] iArray,
DataBuffer data)
Sets the samples in the specified band for the specified rectangle of pixels from an int array containing one sample per data array element. |
Object |
ComponentSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type TransferType . |
int[] |
ComponentSampleModel.getPixel(int x,
int y,
int[] iArray,
DataBuffer data)
Returns all samples for the specified pixel in an int array, one sample per array element. |
int[] |
ComponentSampleModel.getPixels(int x,
int y,
int w,
int h,
int[] iArray,
DataBuffer data)
Returns all samples for the specified rectangle of pixels in an int array, one sample per array element. |
int |
ComponentSampleModel.getSample(int x,
int y,
int b,
DataBuffer data)
Returns as int the sample in a specified band for the pixel located at (x,y). |
float |
ComponentSampleModel.getSampleFloat(int x,
int y,
int b,
DataBuffer data)
Returns the sample in a specified band for the pixel located at (x,y) as a float. |
double |
ComponentSampleModel.getSampleDouble(int x,
int y,
int b,
DataBuffer data)
Returns the sample in a specified band for a pixel located at (x,y) as a double. |
int[] |
ComponentSampleModel.getSamples(int x,
int y,
int w,
int h,
int b,
int[] iArray,
DataBuffer data)
Returns the samples in a specified band for the specified rectangle of pixels in an int array, one sample per data array element. |
void |
ComponentSampleModel.setDataElements(int x,
int y,
Object obj,
DataBuffer data)
Sets the data for a single pixel in the specified DataBuffer from a primitive array of type
TransferType . |
void |
ComponentSampleModel.setPixel(int x,
int y,
int[] iArray,
DataBuffer data)
Sets a pixel in the DataBuffer using an int array of
samples for input. |
void |
ComponentSampleModel.setPixels(int x,
int y,
int w,
int h,
int[] iArray,
DataBuffer data)
Sets all samples for a rectangle of pixels from an int array containing one sample per array element. |
void |
ComponentSampleModel.setSample(int x,
int y,
int b,
int s,
DataBuffer data)
Sets a sample in the specified band for the pixel located at (x,y) in the DataBuffer using an int for input. |
void |
ComponentSampleModel.setSample(int x,
int y,
int b,
float s,
DataBuffer data)
Sets a sample in the specified band for the pixel located at (x,y) in the DataBuffer using a float for input. |
void |
ComponentSampleModel.setSample(int x,
int y,
int b,
double s,
DataBuffer data)
Sets a sample in the specified band for the pixel located at (x,y) in the DataBuffer using a double for input. |
void |
ComponentSampleModel.setSamples(int x,
int y,
int w,
int h,
int b,
int[] iArray,
DataBuffer data)
Sets the samples in the specified band for the specified rectangle of pixels from an int array containing one sample per data array element. |
Object |
SinglePixelPackedSampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type TransferType. |
int[] |
SinglePixelPackedSampleModel.getPixel(int x,
int y,
int[] iArray,
DataBuffer data)
Returns all samples in for the specified pixel in an int array. |
int[] |
SinglePixelPackedSampleModel.getPixels(int x,
int y,
int w,
int h,
int[] iArray,
DataBuffer data)
Returns all samples for the specified rectangle of pixels in an int array, one sample per array element. |
int |
SinglePixelPackedSampleModel.getSample(int x,
int y,
int b,
DataBuffer data)
Returns as int the sample in a specified band for the pixel located at (x,y). |
int[] |
SinglePixelPackedSampleModel.getSamples(int x,
int y,
int w,
int h,
int b,
int[] iArray,
DataBuffer data)
Returns the samples for a specified band for the specified rectangle of pixels in an int array, one sample per array element. |
void |
SinglePixelPackedSampleModel.setDataElements(int x,
int y,
Object obj,
DataBuffer data)
Sets the data for a single pixel in the specified DataBuffer from a primitive array of type TransferType. |
void |
SinglePixelPackedSampleModel.setPixel(int x,
int y,
int[] iArray,
DataBuffer data)
Sets a pixel in the DataBuffer using an int array of samples for input. |
void |
SinglePixelPackedSampleModel.setPixels(int x,
int y,
int w,
int h,
int[] iArray,
DataBuffer data)
Sets all samples for a rectangle of pixels from an int array containing one sample per array element. |
void |
SinglePixelPackedSampleModel.setSample(int x,
int y,
int b,
int s,
DataBuffer data)
Sets a sample in the specified band for the pixel located at (x,y) in the DataBuffer using an int for input. |
void |
SinglePixelPackedSampleModel.setSamples(int x,
int y,
int w,
int h,
int b,
int[] iArray,
DataBuffer data)
Sets the samples in the specified band for the specified rectangle of pixels from an int array containing one sample per array element. |
int[] |
SampleModel.getPixel(int x,
int y,
int[] iArray,
DataBuffer data)
Returns the samples for a specified pixel in an int array, one sample per array element. |
abstract Object |
SampleModel.getDataElements(int x,
int y,
Object obj,
DataBuffer data)
Returns data for a single pixel in a primitive array of type TransferType. |
Object |
SampleModel.getDataElements(int x,
int y,
int w,
int h,
Object obj,
DataBuffer data)
Returns the pixel data for the specified rectangle of pixels in a primitive array of type TransferType. |
abstract void |
SampleModel.setDataElements(int x,
int y,
Object obj,
DataBuffer data)
Sets the data for a single pixel in the specified DataBuffer from a primitive array of type TransferType. |
void |
SampleModel.setDataElements(int x,
int y,
int w,
int h,
Object obj,
DataBuffer data)
Sets the data for a rectangle of pixels in the specified DataBuffer from a primitive array of type TransferType. |
float[] |
SampleModel.getPixel(int x,
int y,
float[] fArray,
DataBuffer data)
Returns the samples for the specified pixel in an array of float. |
double[] |
SampleModel.getPixel(int x,
int y,
double[] dArray,
DataBuffer data)
Returns the samples for the specified pixel in an array of double. |
int[] |
SampleModel.getPixels(int x,
int y,
int w,
int h,
int[] iArray,
DataBuffer data)
Returns all samples for a rectangle of pixels in an int array, one sample per array element. |
float[] |
SampleModel.getPixels(int x,
int y,
int w,
int h,
float[] fArray,
DataBuffer data)
Returns all samples for a rectangle of pixels in a float array, one sample per array element. |
double[] |
SampleModel.getPixels(int x,
int y,
int w,
int h,
double[] dArray,
DataBuffer data)
Returns all samples for a rectangle of pixels in a double array, one sample per array element. |
abstract int |
SampleModel.getSample(int x,
int y,
int b,
DataBuffer data)
Returns the sample in a specified band for the pixel located at (x,y) as an int. |
float |
SampleModel.getSampleFloat(int x,
int y,
int b,
DataBuffer data)
Returns the sample in a specified band for the pixel located at (x,y) as a float. |
double |
SampleModel.getSampleDouble(int x,
int y,
int b,
DataBuffer data)
Returns the sample in a specified band for a pixel located at (x,y) as a double. |
int[] |
SampleModel.getSamples(int x,
int y,
int w,
int h,
int b,
int[] iArray,
DataBuffer data)
Returns the samples for a specified band for the specified rectangle of pixels in an int array, one sample per array element. |
float[] |
SampleModel.getSamples(int x,
int y,
int w,
int h,
int b,
float[] fArray,
DataBuffer data)
Returns the samples for a specified band for the specified rectangle of pixels in a float array, one sample per array element. |
double[] |
SampleModel.getSamples(int x,
int y,
int w,
int h,
int b,
double[] dArray,
DataBuffer data)
Returns the samples for a specified band for a specified rectangle of pixels in a double array, one sample per array element. |
void |
SampleModel.setPixel(int x,
int y,
int[] iArray,
DataBuffer data)
Sets a pixel in the DataBuffer using an int array of samples for input. |
void |
SampleModel.setPixel(int x,
int y,
float[] fArray,
DataBuffer data)
Sets a pixel in the DataBuffer using a float array of samples for input. |
void |
SampleModel.setPixel(int x,
int y,
double[] dArray,
DataBuffer data)
Sets a pixel in the DataBuffer using a double array of samples for input. |
void |
SampleModel.setPixels(int x,
int y,
int w,
int h,
int[] iArray,
DataBuffer data)
Sets all samples for a rectangle of pixels from an int array containing one sample per array element. |
void |
SampleModel.setPixels(int x,
int y,
int w,
int h,
float[] fArray,
DataBuffer data)
Sets all samples for a rectangle of pixels from a float array containing one sample per array element. |
void |
SampleModel.setPixels(int x,
int y,
int w,
int h,
double[] dArray,
DataBuffer data)
Sets all samples for a rectangle of pixels from a double array containing one sample per array element. |
abstract void |
SampleModel.setSample(int x,
int y,
int b,
int s,
DataBuffer data)
Sets a sample in the specified band for the pixel located at (x,y) in the DataBuffer using an int for input. |
void |
SampleModel.setSample(int x,
int y,
int b,
float s,
DataBuffer data)
Sets a sample in the specified band for the pixel located at (x,y) in the DataBuffer using a float for input. |
void |
SampleModel.setSample(int x,
int y,
int b,
double s,
DataBuffer data)
Sets a sample in the specified band for the pixel located at (x,y) in the DataBuffer using a double for input. |
void |
SampleModel.setSamples(int x,
int y,
int w,
int h,
int b,
int[] iArray,
DataBuffer data)
Sets the samples in the specified band for the specified rectangle of pixels from an int array containing one sample per array element. |
void |
SampleModel.setSamples(int x,
int y,
int w,
int h,
int b,
float[] fArray,
DataBuffer data)
Sets the samples in the specified band for the specified rectangle of pixels from a float array containing one sample per array element. |
void |
SampleModel.setSamples(int x,
int y,
int w,
int h,
int b,
double[] dArray,
DataBuffer data)
Sets the samples in the specified band for the specified rectangle of pixels from a double array containing one sample per array element. |
static WritableRaster |
Raster.createInterleavedRaster(DataBuffer dataBuffer,
int w,
int h,
int scanlineStride,
int pixelStride,
int[] bandOffsets,
Point location)
Creates a Raster based on a PixelInterleavedSampleModel with the specified DataBuffer, width, height, scanline stride, pixel stride, and band offsets. |
static WritableRaster |
Raster.createBandedRaster(DataBuffer dataBuffer,
int w,
int h,
int scanlineStride,
int[] bankIndices,
int[] bandOffsets,
Point location)
Creates a Raster based on a BandedSampleModel with the specified DataBuffer, width, height, scanline stride, bank indices, and band offsets. |
static WritableRaster |
Raster.createPackedRaster(DataBuffer dataBuffer,
int w,
int h,
int scanlineStride,
int[] bandMasks,
Point location)
Creates a Raster based on a SinglePixelPackedSampleModel with the specified DataBuffer, width, height, scanline stride, and band masks. |
static WritableRaster |
Raster.createPackedRaster(DataBuffer dataBuffer,
int w,
int h,
int bitsPerPixel,
Point location)
Creates a Raster based on a MultiPixelPackedSampleModel with the specified DataBuffer, width, height, and bits per pixel. |
static Raster |
Raster.createRaster(SampleModel sm,
DataBuffer db,
Point location)
Creates a Raster with the specified SampleModel and DataBuffer. |
static WritableRaster |
Raster.createWritableRaster(SampleModel sm,
DataBuffer db,
Point location)
Creates a WritableRaster with the specified SampleModel and DataBuffer. |
Constructors in java.awt.image with parameters of type DataBuffer | |
Raster(SampleModel sampleModel,
DataBuffer dataBuffer,
Point origin)
Constructs a Raster with the given SampleModel and DataBuffer. |
|
Raster(SampleModel sampleModel,
DataBuffer dataBuffer,
Rectangle aRegion,
Point sampleModelTranslate,
Raster parent)
Constructs a Raster with the given SampleModel, DataBuffer, and parent. |
|
WritableRaster(SampleModel sampleModel,
DataBuffer dataBuffer,
Point origin)
Constructs a WritableRaster with the given SampleModel and DataBuffer. |
|
WritableRaster(SampleModel sampleModel,
DataBuffer dataBuffer,
Rectangle aRegion,
Point sampleModelTranslate,
WritableRaster parent)
Constructs a WritableRaster with the given SampleModel, DataBuffer, and parent. |
|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.