public interface ListElementInfo extends ItsNatUserData
If the parent list (which this object belongs to) is master, this object is ever the
same instance per list element, supporting index changes (inserting or removing
elements to the list) and DOM element changes (calling ElementListFree.setElementAt(int,org.w3c.dom.Element) ).
This feature is very interesting to save contextual
data associated to the child element (using ItsNatUserData).
If the parent list is slave every object obtained is a new instance, ItsNatUserData
can not be used.
ElementListBase.getListElementInfoAt(int),
ElementListBase.getListElementInfoFromNode(Node)| Modifier and Type | Method and Description |
|---|---|
Element |
getElement()
Returns the DOM element object parent of this child.
|
int |
getIndex()
Returns the element index.
|
ElementListBase |
getParentList()
Returns the parent list this object belongs to.
|
containsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValueElementListBase getParentList()
Element getElement()
int getIndex()
Copyright © Innowhere Software, Jose Maria Arranz Santamaria.