Class SoundingSelectionList

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable

public class SoundingSelectionList extends JList
Provides support for the selection of soundings via a GUI widget. Sounding identifiers are displayed in a scrollable list from which the user may select the soundings to be displayed.
Version:
$Id: SoundingSelectionList.java,v 1.12 2005/05/13 18:33:38 jeffmc Exp $
Author:
Steven R. Emmerson
See Also:
  • Constructor Details

    • SoundingSelectionList

      public SoundingSelectionList()
      Constructs from nothing.
  • Method Details

    • getComponent

      public JComponent getComponent()
      Returns the Java Swing component of this widget. NOTE: This is not necessarilly the same as this JList instance because, for example, this JList may be enclosed by a ScrollPane.
      Returns:
      The Java Swing component of this widget.
    • clearSelectedSoundings

      public void clearSelectedSoundings()
      Removes the currently-selected soundings from this instance.
    • clearSoundings

      public void clearSoundings()
      Removes all soundings from this instance.
    • addSounding

      public void addSounding(SoundingOb soundingOb)
      Add a sounding to this instance.
      Parameters:
      soundingOb - The sounding to be added.
    • soundingCount

      public int soundingCount()
      Returns the number of soundings in this instance.
      Returns:
      The number of soundings.