Uses of Class java.awt.image.SampleModel

Uses in package javax.imageio

Constructors with parameter type java.awt.image.SampleModel

Construct an image type specifier with the given models.

Fields of type java.awt.image.SampleModel

SampleModel
The image's sample model.

Methods with return type java.awt.image.SampleModel

SampleModel
Get the sample model specified by this image type specifier.
SampleModel
ImageTypeSpecifier.getSampleModel(int width, int height)
Create a sample model that is compatible with the one specified by this image type specifier, with the given dimensions.

Uses in package java.awt.image

Classes derived from java.awt.image.SampleModel

class
A sample model that reads each sample value from a separate band in the DataBuffer.
class
ComponentSampleModel supports a flexible organization of pixel samples in memory, permitting pixel samples to be interleaved by band, by scanline, and by pixel.
class
MultiPixelPackedSampleModel provides a single band model that supports multiple pixels in a single unit.
class
A SampleModel that uses exactly one element of the raster’s DataBuffer per pixel, holds all bands in a single bank, and stores band data in pixel-interleaved manner.
class
A SampleModel used when all samples are stored in a single data element in the DataBuffer, and each data element contains samples for one pixel only.

Constructors with parameter type java.awt.image.SampleModel

Raster.Raster(SampleModel sampleModel, Point origin)
Creates a new raster.
Raster.Raster(SampleModel sampleModel, DataBuffer dataBuffer, Point origin)
Creates a new raster.
Raster.Raster(SampleModel sampleModel, DataBuffer dataBuffer, Rectangle aRegion, Point sampleModelTranslate, Raster parent)
Creates a new raster.
Creates a new WritableRaster.
WritableRaster.WritableRaster(SampleModel sampleModel, DataBuffer dataBuffer, Point origin)
Creates a new WritableRaster instance.
WritableRaster.WritableRaster(SampleModel sampleModel, DataBuffer dataBuffer, Rectangle aRegion, Point sampleModelTranslate, WritableRaster parent)
Creates a new WritableRaster instance.

Fields of type java.awt.image.SampleModel

SampleModel
The sample model used to access the pixel values.

Methods with parameter type java.awt.image.SampleModel

Raster
Creates a new raster.
WritableRaster
Creates a new writable raster.
WritableRaster
Creates a new writable raster.
boolean
boolean
boolean

Methods with return type java.awt.image.SampleModel

SampleModel
Creates a new SampleModel that is compatible with this model and has the specified width and height.
SampleModel
SampleModel
Creates a SampleModel whose arrangement of pixel data is compatible to this ColorModel.
SampleModel
Creates a new sample model that is compatible with this one, but with the specified dimensions.
SampleModel
Creates a SampleModel that is compatible to this color model.
SampleModel
Creates a new MultiPixelPackedSample model with the same data type and bits per pixel as this model, but with the specified dimensions.
SampleModel
SampleModel
Creates a new SampleModel that is like this one, but uses the specified width and height.
SampleModel
Creates a new SampleModel that is compatible with this model and has the specified width and height.
SampleModel
Creates a new SampleModel that is compatible with this model and has the specified width and height.
SampleModel
SampleModel
Creates a new sample model that provides access to a subset of the bands that this sample model supports.
SampleModel
Normally this method returns a sample model for accessing a subset of bands of image data, but since MultiPixelPackedSampleModel only supports a single band, this overridden implementation just returns a new instance of MultiPixelPackedSampleModel, with the same attributes as this instance.
SampleModel
Creates a new SampleModel that is like this one, but uses only a subset of its bands.
SampleModel
Return a SampleModel with a subset of the bands in this model.
SampleModel
Creates a new SinglePixelPackedSampleModel that accesses the specified subset of bands.
SampleModel
SampleModel
Returns the sample model that accesses the data buffer (to extract pixel data) for this raster.
SampleModel