Class DataVariableTableModel

java.lang.Object
javax.swing.table.AbstractTableModel
noaa.coastwatch.gui.open.DataVariableTableModel
All Implemented Interfaces:
Serializable, TableModel

@Deprecated public class DataVariableTableModel extends AbstractTableModel
Deprecated.
The DataVariableTableModel class models the information in a list of DataVariable objects. It contains a number of columns including the variable name and units.
Since:
3.2.0
Author:
Peter Hollemans
See Also:
  • Constructor Details

    • DataVariableTableModel

      public DataVariableTableModel()
      Deprecated.
      Creates a new table model with no data.
    • DataVariableTableModel

      public DataVariableTableModel(List<DataVariable> variableList)
      Deprecated.
      Creates a new table model using the varible list.
  • Method Details

    • clear

      public void clear()
      Deprecated.
      Clears the variable list so that no data is contained.
    • setVariableList

      public void setVariableList(List<DataVariable> variableList)
      Deprecated.
      Sets the variable list for this model.
    • getRowCount

      public int getRowCount()
      Deprecated.
      Gets the number of table rows.
    • getColumnCount

      public int getColumnCount()
      Deprecated.
      Gets the number of table columns.
    • getValueAt

      public Object getValueAt(int row, int column)
      Deprecated.
      Gets the table data value.
    • getVariable

      public DataVariable getVariable(int row)
      Deprecated.
      Gets the variable at the specified row.
    • getColumnName

      public String getColumnName(int column)
      Deprecated.
      Gets the table column name.
      Specified by:
      getColumnName in interface TableModel
      Overrides:
      getColumnName in class AbstractTableModel
    • main

      public static void main(String[] argv) throws Exception
      Deprecated.
      Tests this class.
      Parameters:
      argv - the array of command line parameters.
      Throws:
      Exception