com.ptc.netmarkets.util.table
Interface NmTabular

All Known Implementing Classes:
NmDefaultHTMLTable, NmDefaultHTMLTableTree

public interface NmTabular



Supported API: true

Extendable: false


Method Summary
 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.
 com.ptc.netmarkets.model.NmObject getObject(int row)
          Get the object corresponding to a given row.
 int getRowCount()
          Get the number of rows in the table.
 

Method Detail

getRowCount

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

Supported API: true

Returns:
int

getObject

com.ptc.netmarkets.model.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