All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class IMSWG.IW.SubSet.BandList

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.List
                   |
                   +----IMSWG.IW.SubSet.BandList

public class BandList
extends List
BandList class - used to set up a multiple choice list widget with all bands from the Bands class. Sets the highlight for any bands that are default from the getDefaultBands method of Bands class. When any band is selected or deselected, calls the setSelectedBands method of the Bands class. Note: uses a callback to the parent, SubSet.bandChanged, method which allows SubSet to determine what happens when bands are changed.


Variable Index

 o subset

Constructor Index

 o BandList(SubSet)

Method Index

 o displayPanel()
 o handleEvent(Event)
 o setDefaults(String[])
set Default bands to selected in list
 o setPrevSelections(String[])
set Previous Selected bands to selected in list

Variables

 o subset
 public SubSet subset

Constructors

 o BandList
 public BandList(SubSet s)

Methods

 o displayPanel
 public Panel displayPanel()
 o handleEvent
 public boolean handleEvent(Event evt)
Overrides:
handleEvent in class Component
 o setDefaults
 public void setDefaults(String defBands[])
set Default bands to selected in list

 o setPrevSelections
 public void setPrevSelections(String prevBands[])
set Previous Selected bands to selected in list


All Packages  Class Hierarchy  This Package  Previous  Next  Index