Package ucar.nc2.ui

Class StructureTable

    • Constructor Detail

      • StructureTable

        public StructureTable​(ucar.util.prefs.PreferencesExt prefs)
    • Method Detail

      • addListSelectionListener

        public void addListSelectionListener​(ListSelectionListener l)
        Add listener: ListSelectionEvent sent when a new row is selected
        Parameters:
        l - the listener
      • removeListSelectionListener

        public void removeListSelectionListener​(ListSelectionListener l)
        Remove listener
        Parameters:
        l - the listener
      • clear

        public void clear()
      • saveState

        public void saveState()
      • setStructureData

        public void setStructureData​(List<ucar.ma2.StructureData> structureData)
                              throws IOException
        Set the data as a collection of StructureData.
        Parameters:
        structureData - List of type StructureData
        Throws:
        IOException - on io error
      • setStructureData

        public void setStructureData​(ucar.ma2.ArrayStructure as)
      • setSequenceData

        public void setSequenceData​(ucar.nc2.Structure s,
                                    ucar.ma2.ArraySequence seq)
      • setPointFeatureData

        public void setPointFeatureData​(List<ucar.nc2.ft.PointFeature> obsData)
                                 throws IOException
        Set the data as a collection of PointFeature.
        Parameters:
        obsData - List of type PointFeature
        Throws:
        IOException - on io error
      • getSelectedRow

        public Object getSelectedRow()