All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class IMSWG.IW.SubSet.Bands

java.lang.Object
   |
   +----IMSWG.IW.SubSet.Bands

public class Bands
extends Object
Bands class - used to Rset or get names or status of the bands. The bands are normally the bands of Landsat 7 but can be used for any set of bands. there are methods for finding out which ones are currently selected, the defaults or all the bands names. And, there are methods to set the defaults and the currently selected.


Constructor Index

 o Bands(String[])

Method Index

 o getAllBands()
getAllBands returns an array containing the string descriptions for all the bands.
 o getDefaultBands()
getDefaultBands returns an array containing only the bands that are set as default.
 o getSelectedBands()
getSelectedBands returns an array of Strings containing only the bands that have been selected.
 o setAllBands(String[])
setAllBands accepts an array containing the string descriptions for all the bands and sets the internal array.
 o setDefaultBands(String[])
setDefaultBands accepts an array containing only the bands to be highlighted as default bands.
 o setSelectedBands(String[])
setSelectedBands accepts an array containing only the bands that have been selected.

Constructors

 o Bands
 public Bands(String initBands[])

Methods

 o getAllBands
 public String[] getAllBands()
getAllBands returns an array containing the string descriptions for all the bands.

 o setAllBands
 public void setAllBands(String bands[])
setAllBands accepts an array containing the string descriptions for all the bands and sets the internal array.

 o getDefaultBands
 public String[] getDefaultBands()
getDefaultBands returns an array containing only the bands that are set as default.

 o setDefaultBands
 public void setDefaultBands(String defBands[])
setDefaultBands accepts an array containing only the bands to be highlighted as default bands.

 o getSelectedBands
 public String[] getSelectedBands()
getSelectedBands returns an array of Strings containing only the bands that have been selected. Assumes that the internal array has "ON" or "OFF" in the string elements, set by setSelectedBands.

 o setSelectedBands
 public void setSelectedBands(String selBands[])
setSelectedBands accepts an array containing only the bands that have been selected. Sets internal selectedBands array with the same "ON" or "OFF" strings.


All Packages  Class Hierarchy  This Package  Previous  Next  Index