public abstract class AbstractPaginatedBand extends AbstractBand implements Band
Band.BandByte, Band.BandDouble, Band.BandFloat, Band.BandInt, Band.BandShort| Modifier and Type | Field and Description |
|---|---|
protected java.nio.Buffer |
data |
protected int |
firstRowOfPage |
protected static int |
MAX_PREFERED_SIZE |
protected BandPageManager |
pageManager |
protected int |
rowsPerPage |
| Constructor and Description |
|---|
AbstractPaginatedBand(int rows,
int columns,
NoData noData,
BandPageManager pageManager) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
calculateBufferSizeToAllocate(int rows,
int columns)
Calculate buffer size than must be allocated.
|
void |
copyFrom(Band source)
Fills this band with a copy of the source data band.
|
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 |
finalize() |
BandInfo |
getBandInfo()
Gets information about the specified band.
|
protected abstract int |
getDataSize() |
boolean |
isPaginated() |
boolean |
isReadOnly() |
protected void |
loadPage(int row) |
protected void |
saveCurrentPage() |
clone, copyFrom, dispose, doFill, doPutRow, doSet, fill, getAsDouble, getColumns, getNoData, getRows, nullValueToNoData, putRow, setaddObserver, addObserver, addObservers, beginComplexNotification, clearChanged, countObservers, deleteObserver, deleteObserver, deleteObservers, disableNotifications, enableNotifications, endComplexNotification, hasChanged, inComplex, isEnabledNotifications, notify, notifyObservers, notifyObservers, setChangedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyFrom, createRowBuffer, fetchRow, fill, get, getAsDouble, getColumns, getDataType, getNoData, getRows, putRow, setclone, cloneQuietly, cloneQuietlybeginComplexNotification, disableNotifications, enableNotifications, endComplexNotificationaddObserver, deleteObserver, deleteObserversdisposeprotected java.nio.Buffer data
protected int firstRowOfPage
protected int rowsPerPage
protected BandPageManager pageManager
protected static final int MAX_PREFERED_SIZE
public AbstractPaginatedBand(int rows,
int columns,
NoData noData,
BandPageManager pageManager)
rows - columns - noData - pageManager - public void copyFrom(Band source) throws CopyFromBandException
BandcopyFrom in interface BandcopyFrom in class AbstractBandCopyFromBandExceptionprotected void doCopyFrom(Band source) throws CopyFromBandException
doCopyFrom in class AbstractBandCopyFromBandExceptionprotected void doCopyFrom(Band source, int row, int column) throws CopyFromBandException
doCopyFrom in class AbstractBandCopyFromBandExceptionprotected void loadPage(int row)
protected void saveCurrentPage()
protected abstract int getDataSize()
public boolean isReadOnly()
isReadOnly in interface BandisReadOnly in class AbstractBandpublic boolean isPaginated()
isPaginated in interface BandisPaginated in class AbstractBandpublic BandInfo getBandInfo()
BandnullgetBandInfo in interface BandgetBandInfo in class AbstractBandprotected int calculateBufferSizeToAllocate(int rows,
int columns)
rows - columns - public void doDispose()
throws BaseException
AbstractBandAbstractBand.dispose() method.doDispose in class AbstractBandBaseExceptionAbstractBand.dispose()protected void finalize()
throws java.lang.Throwable
finalize in class AbstractBandjava.lang.Throwable