Interface Band.BandByte

All Superinterfaces:
Band, Cloneable, org.gvsig.tools.lang.Cloneable, org.gvsig.tools.observer.ComplexObservable, org.gvsig.tools.observer.ComplexWeakReferencingObservable, org.gvsig.tools.dispose.Disposable, org.gvsig.tools.observer.Observable, org.gvsig.tools.observer.WeakReferencingObservable
Enclosing interface:
Band

public static interface Band.BandByte extends Band
A Band which elements are bytes.
Author:
fdiaz
  • Nested Class Summary

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

    Band.BandByte, Band.BandDouble, Band.BandFloat, Band.BandInt, Band.BandShort
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Creates an array of corresponding data type.
    byte
    getValue(int row, int column)
    Gets the corresponding value to the row and column;
    void
    setValue(int row, int column, byte value)
    Sets the value in the row and column;

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

    copyFrom, copyFrom, fetchRow, fill, get, getAsDouble, getBandInfo, getColumns, getDataType, 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
  • Method Details

    • getValue

      byte getValue(int row, int column)
      Gets the corresponding value to the row and column;
      Parameters:
      row -
      column -
      Returns:
      a byte;
    • setValue

      void setValue(int row, int column, byte value)
      Sets the value in the row and column;
      Parameters:
      row -
      column -
      value -
    • createRowBuffer

      byte[] createRowBuffer()
      Description copied from interface: Band
      Creates an array of corresponding data type. The size of the array is the width of the band.
      Specified by:
      createRowBuffer in interface Band
      Returns:
      an array of corresponding data type.