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.
-
Bands(String[])
-
-
getAllBands()
- getAllBands returns an array containing the string descriptions
for all the bands.
-
getDefaultBands()
- getDefaultBands returns an array containing only the bands
that are set as default.
-
getSelectedBands()
- getSelectedBands returns an array of Strings containing only the bands
that have been selected.
-
setAllBands(String[])
- setAllBands accepts an array containing the string descriptions
for all the bands and sets the internal array.
-
setDefaultBands(String[])
- setDefaultBands accepts an array containing only the bands
to be highlighted as default bands.
-
setSelectedBands(String[])
- setSelectedBands accepts an array containing only the bands
that have been selected.
Bands
public Bands(String initBands[])
getAllBands
public String[] getAllBands()
- getAllBands returns an array containing the string descriptions
for all the bands.
setAllBands
public void setAllBands(String bands[])
- setAllBands accepts an array containing the string descriptions
for all the bands and sets the internal array.
getDefaultBands
public String[] getDefaultBands()
- getDefaultBands returns an array containing only the bands
that are set as default.
setDefaultBands
public void setDefaultBands(String defBands[])
- setDefaultBands accepts an array containing only the bands
to be highlighted as default bands.
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.
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