public abstract class AbstractClippedBand extends AbstractBand implements Band
Band.BandByte, Band.BandDouble, Band.BandFloat, Band.BandInt, Band.BandShort
Modifier and Type | Field and Description |
---|---|
protected Band |
band |
protected int |
firstColumn |
protected int |
firstRow |
logger
Constructor and Description |
---|
AbstractClippedBand(Buffer buffer,
Band band) |
Modifier and Type | Method and Description |
---|---|
protected void |
doCopyFrom(Band source) |
protected void |
doCopyFrom(Band source,
int row,
int column) |
void |
doDispose()
Internal implementation for the
AbstractBand.dispose() method. |
protected void |
doFill(java.lang.Object value) |
protected void |
doPutRow(int row,
java.lang.Object rowBuffer) |
protected void |
doSet(int row,
int column,
java.lang.Object value) |
java.lang.Object |
get(int row,
int column)
Gets the corresponding value to a row and column of the band
|
BandInfo |
getBandInfo()
Gets information about the specified band.
|
int |
getDataType()
Gets the dataType.
|
boolean |
isReadOnly() |
clone, copyFrom, copyFrom, dispose, fill, finalize, getAsDouble, getColumns, getNoData, getRows, isPaginated, nullValueToNoData, putRow, set
addObserver, addObserver, addObservers, beginComplexNotification, clearChanged, countObservers, deleteObserver, deleteObserver, deleteObservers, disableNotifications, enableNotifications, endComplexNotification, hasChanged, inComplex, isEnabledNotifications, notify, notifyObservers, notifyObservers, setChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyFrom, copyFrom, createRowBuffer, fetchRow, fill, getAsDouble, getColumns, getNoData, getRows, isPaginated, putRow, set
clone, cloneQuietly, cloneQuietly
beginComplexNotification, disableNotifications, enableNotifications, endComplexNotification
addObserver, deleteObserver, deleteObservers
dispose
protected Band band
protected int firstRow
protected int firstColumn
public BandInfo getBandInfo()
Band
null
getBandInfo
in interface Band
getBandInfo
in class AbstractBand
public int getDataType()
Band
BufferManager
.
The data type of the band can't be changed after being created.getDataType
in interface Band
public java.lang.Object get(int row, int column)
Band
protected void doSet(int row, int column, java.lang.Object value)
doSet
in class AbstractBand
protected void doFill(java.lang.Object value)
doFill
in class AbstractBand
protected void doCopyFrom(Band source) throws CopyFromBandException
doCopyFrom
in class AbstractBand
CopyFromBandException
protected void doCopyFrom(Band source, int row, int column) throws CopyFromBandException
doCopyFrom
in class AbstractBand
CopyFromBandException
protected void doPutRow(int row, java.lang.Object rowBuffer)
doPutRow
in class AbstractBand
public boolean isReadOnly()
isReadOnly
in interface Band
isReadOnly
in class AbstractBand
public void doDispose() throws BaseException
AbstractBand
AbstractBand.dispose()
method.doDispose
in class AbstractBand
BaseException
AbstractBand.dispose()