Class NmDefaultHTMLTable

java.lang.Object
com.ptc.netmarkets.util.misc.NmModel
com.ptc.netmarkets.util.table.NmHTMLTable
com.ptc.netmarkets.util.table.NmDefaultHTMLTable
All Implemented Interfaces:
NmTabular, Externalizable, Serializable, Cloneable

public class NmDefaultHTMLTable extends com.ptc.netmarkets.util.table.NmHTMLTable implements NmTabular, Cloneable, Externalizable


Supported API: true

Extendable: false
See Also:
  • Method Details

    • addObject

      public void addObject(int row, NmObject nmobject)
      Insert an object at a specified row of the table.

      Supported API: true
      Parameters:
      row - row number
      nmobject - object to be added
    • getRowCount

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

      Supported API: true
      Specified by:
      getRowCount in interface NmTabular
      Returns:
      int
    • getObject

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

      Supported API: true
      Specified by:
      getObject in interface NmTabular
      Parameters:
      row - row number in the table
      Returns:
      NmObject
    • addColumn

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

      Supported API: true
      Specified by:
      addColumn in interface NmTabular
      Parameters:
      loc_name - name of the new column to be added
    • addCellValue

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

      Supported API: true
      Specified by:
      addCellValue in interface NmTabular
      Parameters:
      row - row number
      col - column number
      value - value to be added