java.lang.ObjectThis class extendsjava.awt.image.DataBuffer
java.awt.image.DataBufferByte
DataBuffer and stores data internally as bytes.
Values stored in the byte array(s) of this DataBuffer are treated as
unsigned values.
| Field Summary | ||
|---|---|---|
| byte[] | data | The default data bank. |
| byte[][] | bankdata | All data banks |
| Fields inherited from java.awt.image.DataBuffer: |
|---|
| TYPE_BYTE, TYPE_USHORT, TYPE_SHORT, TYPE_INT, TYPE_FLOAT, TYPE_DOUBLE, TYPE_UNDEFINED, dataType, banks, offset, size, offsets, theTrackable |
| Constructor: |
|---|
DataBuffer with a single bank and the
specified size.
|
DataBuffer with the specified number of
banks all of which are the specified size.
|
DataBuffer with a single bank using the
specified array.
Only the first size elements should be used by accessors of
this DataBuffer. dataArray must be large enough to
hold size elements.
Note that {@code DataBuffer} objects created by this constructor may be incompatible with performance optimizations used by some implementations (such as caching an associated image in video memory).
|
DataBuffer with the specified arrays.
The number of banks is equal to dataArray.length.
Only the first size elements of each array should be used by
accessors of this DataBuffer.
Note that {@code DataBuffer} objects created by this constructor may be incompatible with performance optimizations used by some implementations (such as caching an associated image in video memory).
|
DataBuffer with a single bank using the
specified array, size, and offset. dataArray must have at least
offset + size elements. Only elements offset
through offset + size - 1
should be used by accessors of this DataBuffer.
Note that {@code DataBuffer} objects created by this constructor may be incompatible with performance optimizations used by some implementations (such as caching an associated image in video memory).
|
DataBuffer with the specified arrays, size,
and offsets.
The number of banks is equal to dataArray.length. Each array must
be at least as large as size + the corresponding offset.
There must be an entry in the offset array for each dataArray
entry. For each bank, only elements offset through
offset + size - 1 should be used by accessors of this
DataBuffer.
Note that {@code DataBuffer} objects created by this constructor may be incompatible with performance optimizations used by some implementations (such as caching an associated image in video memory).
|
| Method from java.awt.image.DataBufferByte Summary: |
|---|
| getBankData, getData, getData, getElem, getElem, setElem, setElem |
| Methods from java.awt.image.DataBuffer: |
|---|
| getDataType, getDataTypeSize, getElem, getElem, getElemDouble, getElemDouble, getElemFloat, getElemFloat, getNumBanks, getOffset, getOffsets, getSize, setElem, setElem, setElemDouble, setElemDouble, setElemFloat, setElemFloat, toIntArray |
| Methods from java.lang.Object: |
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from java.awt.image.DataBufferByte Detail: |
|---|
Note that calling this method may cause this {@code DataBuffer} object to be incompatible with performance optimizations used by some implementations (such as caching an associated image in video memory). |
Note that calling this method may cause this {@code DataBuffer} object to be incompatible with performance optimizations used by some implementations (such as caching an associated image in video memory). |
Note that calling this method may cause this {@code DataBuffer} object to be incompatible with performance optimizations used by some implementations (such as caching an associated image in video memory). |
|
|
|
|