Class NmDefaultHTMLTableTree
java.lang.Object
com.ptc.netmarkets.util.misc.NmModel
com.ptc.netmarkets.util.treetable.NmHTMLTableTree
com.ptc.netmarkets.util.treetable.NmDefaultHTMLTableTree
- All Implemented Interfaces:
NmTabular,Externalizable,Serializable,Cloneable
public class NmDefaultHTMLTableTree
extends com.ptc.netmarkets.util.treetable.NmHTMLTableTree
implements NmTabular, 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.getObject(int row) Get the object corresponding to a given row.intGet the number of rows in the table.Methods inherited from class com.ptc.netmarkets.util.treetable.NmHTMLTableTree
clone, getCb, getCollapseAction, getDisableAction, getExpandAction, getLocale, getModel, getName, getNode, getTable, getTreeColumnName, getTreeModel, isRowSelectable, isShowTreeLines, readVersion, setCb, setCollapseAction, setDisableAction, setExpandAction, setLocale, setName, setRowSelectable, setShowTreeLines, setTable, setTreeColumnName, setTreeModel, updateModelMethods inherited from class com.ptc.netmarkets.util.misc.NmModel
getLastUpdate, getMessage, getNonSelectableRows, getRowStyles, getRowSytle, getViewMode, isCollapseable, isNonSelectableRow, readVersion, setCollapseable, setLastUpdate, setMessage, setNonSelectableRow, setNonSelectableRows, setRowStyles, setRowSytle, setViewMode
-
Method Details
-
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
-