Interface Band.BandInt

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.BandInt extends Band
A Band which elements are integers.
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
    int[]
    Creates an array of corresponding data type.
    int
    getValue(int row, int column)
    Gets the corresponding value to the row and column;
    void
    setValue(int row, int column, int 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

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

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

      int[] 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.