|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ItsNatListUI
Is the base interface of the User Interface of a list component.
List items are managed as a DOM element list, using the current list structure and renderer.
Current implementation does not use the data model and relays heavily on
ElementList.
Indexes are 0 based.
ItsNatList.getItsNatListUI(),
ItsNatList.getItsNatListCellRenderer(),
ItsNatList.getItsNatListStructure()| Method Summary | |
|---|---|
org.w3c.dom.Element |
getContentElementAt(int index)
Returns the "content" element, this element is used to render below the associated value of the child element. |
org.w3c.dom.Element |
getElementAt(int index)
Returns the child element at the specified index. |
ItsNatList |
getItsNatList()
Returns the associated component object. |
ItsNatListCellUI |
getItsNatListCellUIAt(int index)
Returns an object info of the child element at the specified position. |
ItsNatListCellUI |
getItsNatListCellUIFromNode(org.w3c.dom.Node node)
Returns an object info of the child element containing the specified node (or the node is itself an element of the list). |
int |
getLength()
Returns the number of child elements. |
boolean |
isEmpty()
Informs whether the list is empty (no elements). |
boolean |
isUsePatternMarkupToRender()
Informs whether the original (saved as pattern) markup is used to render. |
void |
setUsePatternMarkupToRender(boolean value)
Sets whether the original (saved as pattern) markup is used to render. |
| Methods inherited from interface org.itsnat.comp.ItsNatElementComponentUI |
|---|
getItsNatElementComponent |
| Methods inherited from interface org.itsnat.comp.ItsNatComponentUI |
|---|
getItsNatComponent |
| Method Detail |
|---|
ItsNatList getItsNatList()
int getLength()
NodeList.getLength()boolean isEmpty()
ElementListBase.isEmpty()org.w3c.dom.Element getElementAt(int index)
index - index of the child element to search.
ElementListBase.getElementAt(int)org.w3c.dom.Element getContentElementAt(int index)
index - index of the element.
ItsNatListStructure.getContentElement(ItsNatList,int,Element),
ElementList.getContentElementAt(int)ItsNatListCellUI getItsNatListCellUIAt(int index)
index - index of the element to search for.
getItsNatListCellUIFromNode(Node),
ElementListBase.getListElementInfoAt(int)ItsNatListCellUI getItsNatListCellUIFromNode(org.w3c.dom.Node node)
node - the node to search for.
getItsNatListCellUIAt(int),
ElementListBase.getListElementInfoFromNode(Node)boolean isUsePatternMarkupToRender()
The default value is defined by ItsNatDocument.isUsePatternMarkupToRender()
setUsePatternMarkupToRender(boolean)void setUsePatternMarkupToRender(boolean value)
value - true to enable the use of original markup to render.isUsePatternMarkupToRender()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||