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.Methods inherited from class com.ptc.netmarkets.util.table.NmHTMLTable
getActionModel, getColumnModel, getDefaultColumFreezeIndex, getDescriptor, getDisableAction, getMenubarModel, getName, getSortMap, getSummary, getTableModel, isDragAndDropSupported, isFilterDone, isRowSelectable, isScrollable, isSortDone, isTableFreezable, readVersion, setActionModel, setColumnModel, setDefaultColumFreezeIndex, setDescriptor, setDisableAction, setDragAndDropSupported, setFilterDone, setMenubarModel, setName, setRowSelectable, setScrollable, setSortDone, setSortMap, setSummary, setTableFreezable, setTableModelMethods 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, updateModel
-
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
-