Interface RmaTableModelInterface

All Superinterfaces:
TableModel
All Known Subinterfaces:
SortingTableModelInterface
All Known Implementing Classes:
AbstractDataListTableModel, AbstractRmaTableModel, AiShapeGlyphOptionJDlg.FieldColorTableModel, EditingInundationGroupTableModel, FieldColorTableModel, FieldMapModel, GeneralTableModel, IdentifierTableModel, InundationGroupTableModel, ObjectChooserTableModel, PairedValuesExtTableModel, PairedValuesTableModel, ParamDoubleTableModel, RenderingInundationGroupTableModel, RmaJTableSorter, RmaTableMap, RmaTableModel, RmaTableSorter, SeasonalRecordTableModel, SeasonalRecWithTimeTableModel, ShapeImportTableModel, ShapeStreamAlignmentTableModel, ShapeTableModel

public interface RmaTableModelInterface extends TableModel
  • Field Details

  • Method Details

    • setColEnabled

      void setColEnabled(boolean enabled, int col)
      the the Column col enabled or disabled
    • setRowEnabled

      void setRowEnabled(boolean enabled, int row)
      set the Row row enabled or disabled
    • resetRowEnabled

      void resetRowEnabled()
      clears the RmaTableModel's editableRows list
    • addColumn

      void addColumn(String colName)
      add a column to the table with the header colName
    • addColumn

      void addColumn(String columnName, Vector columnData)
      add a column to the table with header columnName and data ColumnData
    • getDataVector

      Vector getDataVector()
      return the table data in a vector
    • addRow

      void addRow(Vector newRow)
      add a row to the table with data in the Vector newRow
    • insertRow

      void insertRow(int row, Vector rowData)
      insert a row in the table at Row row with data rowData
    • insertRows

      void insertRows(int row, int cnt, Vector rowData)
      insert cnt number of rows at row with the data rowData
      Parameters:
      row - the row to insert the data at
      cnt - the number of rows to insert
      rowData - the row data to insert, this will be duplicated at all cnt rows
    • setColumnClass

      void setColumnClass(int col, Class cls)
      st the column col's class to be cls
    • clearAll

      void clearAll()
      remove all data from the table
    • deleteRow

      void deleteRow(int index)
      remove the row at index from the model
    • getRow

      Vector getRow(int rowNum)
      get the row of data at rowNum and return in a Vector
    • setColumnNames

      void setColumnNames(String[] colNames)
    • setColumnNames

      void setColumnNames(Vector colNamesVector)
    • getColumnParameter

      int getColumnParameter(int col)
    • setColumnParameters

      void setColumnParameters(int[] params)
    • getUnitSystem

      int getUnitSystem()
    • getGmtOffset

      int getGmtOffset()
      Returns the GmtOffset that the data is in. If a value is set it is guaranteed to be in the range of -11 to +14. Otherwise RmaConst.UNDEF_INT is returned.
    • setDisplayUnitsSystem

      void setDisplayUnitsSystem(int unitSystem)
      set the display units system
    • setCellEnabled

      default void setCellEnabled(boolean enable, int row, int col)