Package com.ptc.netmarkets.util.table
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 Summary
Modifier and TypeMethodDescriptionvoidaddCellValue(int row, int col, Object value) Add a value to a specified cell
Supported API: truevoidAdd a new column to the table with a given name.voidInsert an object at a specified row of the table.getObject(int row) Get the object corresponding to a given row.intGet the number of rows in the table.
-
Method Details
-
addObject
Insert an object at a specified row of the table.
Supported API: true- Parameters:
row- row numbernmobject- object to be added
-
getRowCount
public int getRowCount()Get the number of rows in the table.
Supported API: true- Specified by:
getRowCountin interfaceNmTabular- Returns:
- int
-
getObject
Get the object corresponding to a given row.
Supported API: true -
addColumn
Add a new column to the table with a given name.
Supported API: true -
addCellValue
Add a value to a specified cell
Supported API: true- Specified by:
addCellValuein interfaceNmTabular- Parameters:
row- row numbercol- column numbervalue- value to be added
-