Package hec.model

Class PairedValuesExtTableModel

All Implemented Interfaces:
Serializable, TableModel, RmaTableModelInterface

public class PairedValuesExtTableModel extends RmaTableModel implements RmaTableModelInterface
See Also:
  • Constructor Details

    • PairedValuesExtTableModel

      public PairedValuesExtTableModel(String[] colNames, boolean[] editable)
    • PairedValuesExtTableModel

      public PairedValuesExtTableModel(String[] colNames, PairedValuesExt pv, boolean[] editable)
  • Method Details

    • getValueAt

      public Object getValueAt(int row, int col)
      Description copied from class: 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 RmaTableModel
      Parameters:
      row - the row to look for the value in.
      col - the column to look for the value in.
    • getColumnParameter

      public int getColumnParameter(int col)
      Description copied from class: AbstractRmaTableModel
      Returns the parameter for a given column. If no parameter is defined -1 is returned. The parameter ID returned can be decoded with the hec.data.Parameter class.
      Specified by:
      getColumnParameter in interface RmaTableModelInterface
      Overrides:
      getColumnParameter in class RmaTableModel
    • setPairedValues

      public void setPairedValues(PairedValuesExt pv)
    • parsePairedValues

      protected void parsePairedValues(PairedValuesExt pv)
    • getModel

      public RmaTableModel getModel()
      Overrides:
      getModel in class RmaTableModel
    • storeData

      public void storeData(PairedValuesExt pv)
      store data from table
    • setShouldAddBlankRows

      public void setShouldAddBlankRows(boolean addTheRows)
    • setSaveEmptyYAsUndefined

      public void setSaveEmptyYAsUndefined(boolean saveAsUndefined)