Home » openjdk-7 » sun » awt » image » [javadoc | source]
sun.awt.image
public class: SunWritableRaster [javadoc | source]
java.lang.Object
   java.awt.image.Raster
      java.awt.image.WritableRaster
         sun.awt.image.SunWritableRaster

Direct Known Subclasses:
    ShortBandedRaster, ByteInterleavedRaster, ByteBandedRaster, IntegerInterleavedRaster, BytePackedRaster, ShortInterleavedRaster, ByteComponentRaster, IntegerComponentRaster, ShortComponentRaster

This class exists as a middle layer between WritableRaster and its implementation specific subclasses (ByteComponentRaster, ShortBandedRaster, etc). It provides utilities to steal the data arrays from the standard DataBuffer types and also steals the StateTrackableDelegate from the associated DataBuffer so that it can be updated when the data is changed.
Nested Class Summary:
public static interface  SunWritableRaster.DataStealer   
Fields inherited from java.awt.image.Raster:
sampleModel,  dataBuffer,  minX,  minY,  width,  height,  sampleModelTranslateX,  sampleModelTranslateY,  numBands,  numDataElements,  parent
Constructor:
 public SunWritableRaster(SampleModel sampleModel,
    Point origin) 
 public SunWritableRaster(SampleModel sampleModel,
    DataBuffer dataBuffer,
    Point origin) 
 public SunWritableRaster(SampleModel sampleModel,
    DataBuffer dataBuffer,
    Rectangle aRegion,
    Point sampleModelTranslate,
    WritableRaster parent) 
Method from sun.awt.image.SunWritableRaster Summary:
makeTrackable,   markDirty,   markDirty,   markDirty,   markDirty,   setDataStealer,   setTrackable,   stealData,   stealData,   stealData,   stealTrackable
Methods from java.awt.image.WritableRaster:
createWritableChild,   createWritableTranslatedChild,   getWritableParent,   setDataElements,   setDataElements,   setDataElements,   setPixel,   setPixel,   setPixel,   setPixels,   setPixels,   setPixels,   setRect,   setRect,   setSample,   setSample,   setSample,   setSamples,   setSamples,   setSamples
Methods from java.awt.image.Raster:
createBandedRaster,   createBandedRaster,   createBandedRaster,   createChild,   createCompatibleWritableRaster,   createCompatibleWritableRaster,   createCompatibleWritableRaster,   createCompatibleWritableRaster,   createInterleavedRaster,   createInterleavedRaster,   createInterleavedRaster,   createPackedRaster,   createPackedRaster,   createPackedRaster,   createPackedRaster,   createRaster,   createTranslatedChild,   createWritableRaster,   createWritableRaster,   getBounds,   getDataBuffer,   getDataElements,   getDataElements,   getHeight,   getMinX,   getMinY,   getNumBands,   getNumDataElements,   getParent,   getPixel,   getPixel,   getPixel,   getPixels,   getPixels,   getPixels,   getSample,   getSampleDouble,   getSampleFloat,   getSampleModel,   getSampleModelTranslateX,   getSampleModelTranslateY,   getSamples,   getSamples,   getSamples,   getTransferType,   getWidth
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.awt.image.SunWritableRaster Detail:
 public static  void makeTrackable(DataBuffer db) 
 public final  void markDirty() 
    Mark the TrackableDelegate of the associated DataBuffer dirty.
 public static  void markDirty(DataBuffer db) 
 public static  void markDirty(WritableRaster wr) 
 public static  void markDirty(Image img) 
 public static  void setDataStealer(DataStealer ds) 
 public static  void setTrackable(DataBuffer db,
    StateTrackableDelegate trackable) 
 public static byte[] stealData(DataBufferByte dbb,
    int bank) 
 public static short[] stealData(DataBufferUShort dbus,
    int bank) 
 public static int[] stealData(DataBufferInt dbi,
    int bank) 
 public static StateTrackableDelegate stealTrackable(DataBuffer db)