spv.spectrum.factory.GHRSFOS
Class GHRSFOSFileView

java.lang.Object
  extended by spv.spectrum.factory.ListFileView
      extended by spv.spectrum.factory.MultipleSpectrumFileViewGUI
          extended by spv.spectrum.factory.MultipleSpectrumFileView
              extended by spv.spectrum.factory.GHRSFOS.GHRSFOSFileView
All Implemented Interfaces:
FileView

public class GHRSFOSFileView
extends MultipleSpectrumFileView

This class creates the necessary widgets for displaying a GHRS/FOS file contents and enabling user selection of spectra.

For now it is basically its superclass, except for the list selection mode, which forbids multiple selections.

Version:
1.1 - 31Oct02, 1.0 - 27Apr99
Author:
Ivo Busko (Space Telescope Science Institute)

Field Summary
protected  int extension
           
 
Fields inherited from class spv.spectrum.factory.MultipleSpectrumFileViewGUI
ball, bgo, bquit, contentPane1, ext_chooser, frame, glassPane1, JLayeredPane1, JRootPane1, scrollBar1, scrollBar2, spanel, sum_checkbox, sum_label, sum_panel, viewport
 
Fields inherited from class spv.spectrum.factory.ListFileView
list, scroll_pane
 
Constructor Summary
GHRSFOSFileView(FileDescriptor file_desc, SpectrumSelector sp_sel, java.awt.Component pcomp)
          Constructor.
 
Method Summary
 
Methods inherited from class spv.spectrum.factory.MultipleSpectrumFileView
buildList, dispose, goRead, selectAll
 
Methods inherited from class spv.spectrum.factory.ListFileView
buildBasicList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extension

protected int extension
Constructor Detail

GHRSFOSFileView

public GHRSFOSFileView(FileDescriptor file_desc,
                       SpectrumSelector sp_sel,
                       java.awt.Component pcomp)
Constructor. Builds a screen widget with a list of the file contents. The input for populating the widget comes from a FileDescriptor object. The widget is positioned on screen relative to a Component object.

Parameters:
file_desc - the file descriptor that contains the information to be depicted on screen
sp_sel - the spectrum selector that calls this
pcomp - the component used for screen positioning