001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: /**
018: * @author Igor V. Stolyarov
019: * @version $Revision$
020: */package org.apache.harmony.awt.gl.image;
021:
022: import java.awt.Point;
023: import java.awt.Rectangle;
024: import java.awt.image.DataBuffer;
025: import java.awt.image.Raster;
026: import java.awt.image.SampleModel;
027: import java.awt.image.WritableRaster;
028:
029: public class OrdinaryWritableRaster extends WritableRaster {
030:
031: public OrdinaryWritableRaster(SampleModel sampleModel,
032: DataBuffer dataBuffer, Rectangle aRegion,
033: Point sampleModelTranslate, WritableRaster parent) {
034: super (sampleModel, dataBuffer, aRegion, sampleModelTranslate,
035: parent);
036: }
037:
038: public OrdinaryWritableRaster(SampleModel sampleModel,
039: DataBuffer dataBuffer, Point origin) {
040: super (sampleModel, dataBuffer, origin);
041: }
042:
043: public OrdinaryWritableRaster(SampleModel sampleModel, Point origin) {
044: super (sampleModel, origin);
045: }
046:
047: @Override
048: public void setDataElements(int x, int y, Object inData) {
049: super .setDataElements(x, y, inData);
050: }
051:
052: @Override
053: public void setDataElements(int x, int y, int w, int h,
054: Object inData) {
055: super .setDataElements(x, y, w, h, inData);
056: }
057:
058: @Override
059: public WritableRaster createWritableChild(int parentX, int parentY,
060: int w, int h, int childMinX, int childMinY, int[] bandList) {
061: return super .createWritableChild(parentX, parentY, w, h,
062: childMinX, childMinY, bandList);
063: }
064:
065: @Override
066: public WritableRaster createWritableTranslatedChild(int childMinX,
067: int childMinY) {
068: return super
069: .createWritableTranslatedChild(childMinX, childMinY);
070: }
071:
072: @Override
073: public WritableRaster getWritableParent() {
074: return super .getWritableParent();
075: }
076:
077: @Override
078: public void setRect(Raster srcRaster) {
079: super .setRect(srcRaster);
080: }
081:
082: @Override
083: public void setRect(int dx, int dy, Raster srcRaster) {
084: super .setRect(dx, dy, srcRaster);
085: }
086:
087: @Override
088: public void setDataElements(int x, int y, Raster inRaster) {
089: super .setDataElements(x, y, inRaster);
090: }
091:
092: @Override
093: public void setPixel(int x, int y, int[] iArray) {
094: super .setPixel(x, y, iArray);
095: }
096:
097: @Override
098: public void setPixel(int x, int y, float[] fArray) {
099: super .setPixel(x, y, fArray);
100: }
101:
102: @Override
103: public void setPixel(int x, int y, double[] dArray) {
104: super .setPixel(x, y, dArray);
105: }
106:
107: @Override
108: public void setPixels(int x, int y, int w, int h, int[] iArray) {
109: super .setPixels(x, y, w, h, iArray);
110: }
111:
112: @Override
113: public void setPixels(int x, int y, int w, int h, float[] fArray) {
114: super .setPixels(x, y, w, h, fArray);
115: }
116:
117: @Override
118: public void setPixels(int x, int y, int w, int h, double[] dArray) {
119: super .setPixels(x, y, w, h, dArray);
120: }
121:
122: @Override
123: public void setSamples(int x, int y, int w, int h, int b,
124: int[] iArray) {
125: super .setSamples(x, y, w, h, b, iArray);
126: }
127:
128: @Override
129: public void setSamples(int x, int y, int w, int h, int b,
130: float[] fArray) {
131: super .setSamples(x, y, w, h, b, fArray);
132: }
133:
134: @Override
135: public void setSamples(int x, int y, int w, int h, int b,
136: double[] dArray) {
137: super .setSamples(x, y, w, h, b, dArray);
138: }
139:
140: @Override
141: public void setSample(int x, int y, int b, int s) {
142: super .setSample(x, y, b, s);
143: }
144:
145: @Override
146: public void setSample(int x, int y, int b, float s) {
147: super .setSample(x, y, b, s);
148: }
149:
150: @Override
151: public void setSample(int x, int y, int b, double s) {
152: super.setSample(x, y, b, s);
153: }
154: }
|