Interface NmTabular

All Known Implementing Classes:
NmDefaultHTMLTable, NmDefaultHTMLTableTree

public interface NmTabular


Supported API: true

Extendable: false
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addCellValue(int row, int col, Object value)
    Add a value to a specified cell

    Supported API: true
    void
    addColumn(Object loc_name)
    Add a new column to the table with a given name.
    getObject(int row)
    Get the object corresponding to a given row.
    int
    Get the number of rows in the table.
  • Method Details

    • getRowCount

      int getRowCount()
      Get the number of rows in the table.

      Supported API: true
      Returns:
      int
    • getObject

      NmObject getObject(int row)
      Get the object corresponding to a given row.

      Supported API: true
      Parameters:
      row - row number in the table
      Returns:
      NmObject
    • addColumn

      void addColumn(Object loc_name)
      Add a new column to the table with a given name.

      Supported API: true
      Parameters:
      loc_name - name of the new column to be added
    • addCellValue

      void addCellValue(int row, int col, Object value)
      Add a value to a specified cell

      Supported API: true
      Parameters:
      row - row number
      col - column number
      value - value to be added