public interface TableCellElementInfo extends ItsNatUserData
If the parent table (which this object belongs to) is master, this object is ever the
same instance per table cell element, supporting row and column changes (inserting or removing
rows and columns) and DOM element changes (calling ElementTableFree.setCellElementAt(int,int,org.w3c.dom.Element)
).
This feature is very interesting to save contextual
data associated to the cell element (using ItsNatUserData
).
If the parent table is slave every object obtained is a new instance, ItsNatUserData
can not be used.
ElementTableBase.getTableCellElementInfoFromNode(Node)
,
ElementTableBase.getTableCellElementInfoAt(int,int)
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Element |
getCellElement()
Returns the cell DOM element.
|
int |
getColumnIndex()
Returns the column index of the cell.
|
ElementTableBase |
getParentTable()
Returns the parent table this object belongs to.
|
org.w3c.dom.Element |
getRowElement()
Returns the row DOM element (top) parent of the cell.
|
int |
getRowIndex()
Returns the row index of the cell.
|
containsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValue
ElementTableBase getParentTable()
org.w3c.dom.Element getRowElement()
int getRowIndex()
org.w3c.dom.Element getCellElement()
int getColumnIndex()
Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.