Class PaginatedBandInt

java.lang.Object
org.gvsig.tools.observer.impl.BaseWeakReferencingObservable
All Implemented Interfaces:
Cloneable, org.gvsig.raster.lib.buffer.api.Band, org.gvsig.raster.lib.buffer.api.Band.BandInt, org.gvsig.tools.dispose.Disposable, org.gvsig.tools.lang.Cloneable, org.gvsig.tools.observer.ComplexObservable, org.gvsig.tools.observer.ComplexWeakReferencingObservable, org.gvsig.tools.observer.Observable, org.gvsig.tools.observer.WeakReferencingObservable

public class PaginatedBandInt extends AbstractPaginatedBand implements org.gvsig.raster.lib.buffer.api.Band.BandInt
Author:
fdiaz
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.gvsig.raster.lib.buffer.api.Band

    org.gvsig.raster.lib.buffer.api.Band.BandByte, org.gvsig.raster.lib.buffer.api.Band.BandDouble, org.gvsig.raster.lib.buffer.api.Band.BandFloat, org.gvsig.raster.lib.buffer.api.Band.BandInt, org.gvsig.raster.lib.buffer.api.Band.BandShort
  • Field Summary

    Fields inherited from class org.gvsig.raster.lib.buffer.impl.AbstractPaginatedBand

    data, firstRowOfPage, MAX_PREFERED_SIZE, pageManager, rowsPerPage
  • Constructor Summary

    Constructors
    Constructor
    Description
    PaginatedBandInt(int rows, int columns, org.gvsig.raster.lib.buffer.api.NoData noData, org.gvsig.raster.lib.buffer.api.BandPageManager pageManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int[]
     
    protected void
    doFill(Object value)
     
    protected void
    doPutRow(int row, Object rowBuffer)
     
    protected void
    doSet(int row, int column, Object value)
     
    protected void
    doSetValue(int row, int column, int value)
     
    void
    fetchRow(int row, Object rowBuffer)
     
    get(int row, int column)
     
    protected int
     
    int
     
    int
    getValue(int row, int column)
     
    protected void
    loadPage(int row)
     
    void
    setValue(int row, int column, int value)
     

    Methods inherited from class org.gvsig.raster.lib.buffer.impl.AbstractBand

    clone, copyFrom, dispose, fill, getAsDouble, getColumns, getNoData, getRows, nullValueToNoData, putRow, set

    Methods inherited from class org.gvsig.tools.observer.impl.BaseWeakReferencingObservable

    addObserver, addObserver, addObservers, beginComplexNotification, clearChanged, countObservers, deleteObserver, deleteObserver, deleteObservers, disableNotifications, enableNotifications, endComplexNotification, hasChanged, inComplex, isEnabledNotifications, notify, notifyObservers, notifyObservers, setChanged

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.gvsig.raster.lib.buffer.api.Band

    copyFrom, copyFrom, fill, getAsDouble, getBandInfo, getColumns, getNoData, getRows, isPaginated, isReadOnly, putRow, set

    Methods inherited from interface org.gvsig.tools.lang.Cloneable

    clone

    Methods inherited from interface org.gvsig.tools.observer.ComplexObservable

    beginComplexNotification, disableNotifications, enableNotifications, endComplexNotification

    Methods inherited from interface org.gvsig.tools.dispose.Disposable

    dispose

    Methods inherited from interface org.gvsig.tools.observer.Observable

    addObserver, deleteObserver, deleteObservers
  • Constructor Details

    • PaginatedBandInt

      public PaginatedBandInt(int rows, int columns, org.gvsig.raster.lib.buffer.api.NoData noData, org.gvsig.raster.lib.buffer.api.BandPageManager pageManager)
      Parameters:
      rows -
      columns -
      noData -
      pageManager -
      rowsPerPage -
  • Method Details

    • getDataType

      public int getDataType()
      Specified by:
      getDataType in interface org.gvsig.raster.lib.buffer.api.Band
    • getDataSize

      protected int getDataSize()
      Specified by:
      getDataSize in class AbstractPaginatedBand
    • get

      public Object get(int row, int column)
      Specified by:
      get in interface org.gvsig.raster.lib.buffer.api.Band
    • doSet

      protected void doSet(int row, int column, Object value)
      Specified by:
      doSet in class AbstractBand
    • doFill

      protected void doFill(Object value)
      Specified by:
      doFill in class AbstractBand
    • getValue

      public int getValue(int row, int column)
      Specified by:
      getValue in interface org.gvsig.raster.lib.buffer.api.Band.BandInt
    • setValue

      public void setValue(int row, int column, int value)
      Specified by:
      setValue in interface org.gvsig.raster.lib.buffer.api.Band.BandInt
    • doSetValue

      protected void doSetValue(int row, int column, int value)
    • createRowBuffer

      public int[] createRowBuffer()
      Specified by:
      createRowBuffer in interface org.gvsig.raster.lib.buffer.api.Band
      Specified by:
      createRowBuffer in interface org.gvsig.raster.lib.buffer.api.Band.BandInt
    • fetchRow

      public void fetchRow(int row, Object rowBuffer)
      Specified by:
      fetchRow in interface org.gvsig.raster.lib.buffer.api.Band
    • doPutRow

      protected void doPutRow(int row, Object rowBuffer)
      Specified by:
      doPutRow in class AbstractBand
    • loadPage

      protected void loadPage(int row)
      Overrides:
      loadPage in class AbstractPaginatedBand