Class SkewTReadoutTable.MyTableModel

java.lang.Object
javax.swing.table.AbstractTableModel
ucar.unidata.view.sounding.SkewTReadoutTable.MyTableModel
All Implemented Interfaces:
Serializable, TableModel
Enclosing class:
SkewTReadoutTable

protected class SkewTReadoutTable.MyTableModel extends AbstractTableModel
Provides support for the data model behind the table.
See Also:
  • Constructor Details

    • MyTableModel

      public MyTableModel()
      Constructs from nothing.
  • Method Details

    • getRowCount

      public int getRowCount()
      Returns the number of rows.
      Returns:
      The number of rows.
    • getColumnCount

      public int getColumnCount()
      Returns the number of columns.
      Returns:
      The number of columns.
    • getValueAt

      public Object getValueAt(int row, int column)
      Returns the value of a cell.
      Parameters:
      row - The row index.
      column - The column index.
      Returns:
      The value of the given cell.
    • addRowEntry

      public void addRowEntry(SkewTReadoutTable.RowEntry entry)
      Adds a row to the model.
      Parameters:
      entry - The row to be added.