java.awt.image

Class WritableRaster


public class WritableRaster
extends Raster

Field Summary

Fields inherited from class java.awt.image.Raster

dataBuffer, height, minX, minY, numBands, numDataElements, parent, sampleModel, sampleModelTranslateX, sampleModelTranslateY, width

Constructor Summary

WritableRaster(SampleModel sampleModel, Point origin)
WritableRaster(SampleModel sampleModel, DataBuffer dataBuffer, Point origin)
WritableRaster(SampleModel sampleModel, DataBuffer dataBuffer, Rectangle aRegion, Point sampleModelTranslate, WritableRaster parent)

Method Summary

WritableRaster
createWritableChild(int parentX, int parentY, int w, int h, int childMinX, int childMinY, int[] bandList)
WritableRaster
createWritableTranslatedChild(int childMinX, int childMinY)
WritableRaster
getWritableParent()
void
setDataElements(int x, int y, int w, int h, Object inData)
void
setDataElements(int x, int y, Raster inRaster)
void
setDataElements(int x, int y, Object inData)
void
setPixel(int x, int y, double[] dArray)
void
setPixel(int x, int y, float[] fArray)
void
setPixel(int x, int y, int[] iArray)
void
setPixels(int x, int y, int w, int h, double[] dArray)
void
setPixels(int x, int y, int w, int h, float[] fArray)
void
setPixels(int x, int y, int w, int h, int[] iArray)
void
setRect(int dx, int dy, Raster srcRaster)
void
setRect(Raster srcRaster)
void
setSample(int x, int y, int b, double s)
void
setSample(int x, int y, int b, float s)
void
setSample(int x, int y, int b, int s)
void
setSamples(int x, int y, int w, int h, int b, double[] dArray)
void
setSamples(int x, int y, int w, int h, int b, float[] fArray)
void
setSamples(int x, int y, int w, int h, int b, int[] iArray)

Methods inherited from class 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, toString

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

WritableRaster

protected WritableRaster(SampleModel sampleModel,
                         Point origin)

WritableRaster

protected WritableRaster(SampleModel sampleModel,
                         DataBuffer dataBuffer,
                         Point origin)

WritableRaster

protected WritableRaster(SampleModel sampleModel,
                         DataBuffer dataBuffer,
                         Rectangle aRegion,
                         Point sampleModelTranslate,
                         WritableRaster parent)

Method Details

createWritableChild

public WritableRaster createWritableChild(int parentX,
                                          int parentY,
                                          int w,
                                          int h,
                                          int childMinX,
                                          int childMinY,
                                          int[] bandList)

createWritableTranslatedChild

public WritableRaster createWritableTranslatedChild(int childMinX,
                                                    int childMinY)

getWritableParent

public WritableRaster getWritableParent()

setDataElements

public void setDataElements(int x,
                            int y,
                            int w,
                            int h,
                            Object inData)

setDataElements

public void setDataElements(int x,
                            int y,
                            Raster inRaster)

setDataElements

public void setDataElements(int x,
                            int y,
                            Object inData)

setPixel

public void setPixel(int x,
                     int y,
                     double[] dArray)

setPixel

public void setPixel(int x,
                     int y,
                     float[] fArray)

setPixel

public void setPixel(int x,
                     int y,
                     int[] iArray)

setPixels

public void setPixels(int x,
                      int y,
                      int w,
                      int h,
                      double[] dArray)

setPixels

public void setPixels(int x,
                      int y,
                      int w,
                      int h,
                      float[] fArray)

setPixels

public void setPixels(int x,
                      int y,
                      int w,
                      int h,
                      int[] iArray)

setRect

public void setRect(int dx,
                    int dy,
                    Raster srcRaster)

setRect

public void setRect(Raster srcRaster)

setSample

public void setSample(int x,
                      int y,
                      int b,
                      double s)

setSample

public void setSample(int x,
                      int y,
                      int b,
                      float s)

setSample

public void setSample(int x,
                      int y,
                      int b,
                      int s)

setSamples

public void setSamples(int x,
                       int y,
                       int w,
                       int h,
                       int b,
                       double[] dArray)

setSamples

public void setSamples(int x,
                       int y,
                       int w,
                       int h,
                       int b,
                       float[] fArray)

setSamples

public void setSamples(int x,
                       int y,
                       int w,
                       int h,
                       int b,
                       int[] iArray)

Copyright (C) 2000, 2002, 2003 Free Software Foundation This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.