|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TableCellElementInfo
Contains the DOM Elements, row and cell, and the row and column indexes of a cell of a DOM element table.
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)| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.itsnat.core.ItsNatUserData |
|---|
containsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValue |
| Method Detail |
|---|
ElementTableBase getParentTable()
org.w3c.dom.Element getRowElement()
int getRowIndex()
org.w3c.dom.Element getCellElement()
int getColumnIndex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||