|
|
java > java.awt > java.awt.image > java.awt.image.samplemodel >
Class: java.awt.image.SampleModel java.lang.Object java.awt.image.SampleModel
public abstract class SampleModel extends Object
FIELDS:
protected int dataType protected int height protected int numBands protected int width |
|
|
|
CONSTRUCTORS:
| | | public | SampleModel(int dataType, int w, int h, int numBands) |
| |
|
|
|
METHODS:
| | | | public abstract | SampleModel | createCompatibleSampleModel(int w, int h) |
| | public abstract | DataBuffer | createDataBuffer() |
| | public abstract | SampleModel | createSubsetSampleModel(int[] bands) |
| | public | Object | getDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public abstract | Object | getDataElements(int x, int y, Object obj, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public final | int | getDataType() |
| | public final | int | getHeight() |
| | public final | int | getNumBands() |
| | public abstract | int | getNumDataElements() |
| | public | double[] | getPixel(int x, int y, double[] dArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | float[] | getPixel(int x, int y, float[] fArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | int[] | getPixel(int x, int y, int[] iArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | double[] | getPixels(int x, int y, int w, int h, double[] dArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | float[] | getPixels(int x, int y, int w, int h, float[] fArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | int[] | getPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public abstract | int | getSample(int x, int y, int b, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | double | getSampleDouble(int x, int y, int b, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | float | getSampleFloat(int x, int y, int b, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public abstract | int[] | getSampleSize() |
| | public abstract | int | getSampleSize(int band) |
| | public | double[] | getSamples(int x, int y, int w, int h, int b, double[] dArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | float[] | getSamples(int x, int y, int w, int h, int b, float[] fArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | int[] | getSamples(int x, int y, int w, int h, int b, int[] iArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | int | getTransferType() |
| | public final | int | getWidth() |
| | public | void | setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public abstract | void | setDataElements(int x, int y, Object obj, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | void | setPixel(int x, int y, double[] dArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | void | setPixel(int x, int y, float[] fArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | void | setPixel(int x, int y, int[] iArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | void | setPixels(int x, int y, int w, int h, double[] dArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | void | setPixels(int x, int y, int w, int h, float[] fArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | void | setPixels(int x, int y, int w, int h, int[] iArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | void | setSample(int x, int y, int b, double s, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | void | setSample(int x, int y, int b, float s, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public abstract | void | setSample(int x, int y, int b, int s, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | void | setSamples(int x, int y, int w, int h, int b, double[] dArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | void | setSamples(int x, int y, int w, int h, int b, float[] fArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| | public | void | setSamples(int x, int y, int w, int h, int b, int[] iArray, DataBuffer data) Throws: NullPointerException Throws: ArrayIndexOutOfBoundsException |
| |
|
|
|
INHERITED METHODS:
| getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(), |
|
|
|
SUBCLASSES:
|
|



|