Class OpSupportTablePanel.OpSupportTableModel

java.lang.Object
javax.swing.table.AbstractTableModel
rma.swing.table.AbstractRmaTableModel
hec.rss.plugins.opsupport.client.OpSupportTablePanel.OpSupportTableModel
All Implemented Interfaces:
Serializable, TableModel, rma.swing.table.RmaTableModelInterface
Enclosing class:
OpSupportTablePanel

public class OpSupportTablePanel.OpSupportTableModel extends rma.swing.table.AbstractRmaTableModel
Table model for Operation Support Table Interface
See Also:
  • Constructor Details

    • OpSupportTableModel

      public OpSupportTableModel(String[] headers)
  • Method Details

    • isCellEditable

      public boolean isCellEditable(int rowIndex, int columnIndex)
      Specified by:
      isCellEditable in interface TableModel
      Overrides:
      isCellEditable in class rma.swing.table.AbstractRmaTableModel
    • refreshData

      public void refreshData()
    • getRowCount

      public int getRowCount()
      Description copied from class: rma.swing.table.AbstractRmaTableModel
      Returns the number of row in the table model. The default method always returns 0, so this method must be overridden to return a row count other than 0.
      Specified by:
      getRowCount in interface TableModel
      Overrides:
      getRowCount in class rma.swing.table.AbstractRmaTableModel
      Returns:
      the row count.
    • getValueAt

      public Object getValueAt(int row, int col)
      Description copied from class: rma.swing.table.AbstractRmaTableModel
      Returns the value at a given row/column location. The default method returns null. Needs to be overrridden
      Specified by:
      getValueAt in interface TableModel
      Overrides:
      getValueAt in class rma.swing.table.AbstractRmaTableModel
      Parameters:
      row - the row to look for the value in.
      col - the column to look for the value in.
      Returns:
    • setValueAt

      public void setValueAt(Object value, int row, int col)
      Specified by:
      setValueAt in interface TableModel
      Overrides:
      setValueAt in class rma.swing.table.AbstractRmaTableModel