| sun.awt.image.WritableRasterNative
WritableRasterNative | public class WritableRasterNative extends WritableRaster (Code) | | WritableRasterNative
This class exists to wrap a native DataBuffer object. The
standard WritableRaster object assumes that a DataBuffer
of a given type (e.g., DataBuffer.TYPE_INT) implies a certain
subclass (e.g., DataBufferInt). But this is not always the
case. DataBufferNative, for example, may allow access to
integer-based data, but it is not DataBufferInt (which is a
final class and cannot be subclassed).
So this class exists simply to allow the WritableRaster
functionality for this new kind of DataBuffer object.
|
WritableRasterNative | protected WritableRasterNative(SampleModel sm, DataBuffer db)(Code) | | |
|
|