public interface ItsNatTableHeaderUI extends ItsNatElementComponentUI
A table header is managed as a DOM element list, using the current table structure and renderer.
Current implementation does not use the data model and relays heavily on
ElementList
.
ItsNatTableHeader.getItsNatTableHeaderUI()
,
ItsNatTableHeader.getItsNatTableHeaderCellRenderer()
,
ItsNatTable.getItsNatTableStructure()
,
ElementList
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Element |
getContentElementAt(int index)
Returns the "content" element, this element is used to render below
the associated value of the header column element.
|
org.w3c.dom.Element |
getElementAt(int index)
Returns the header column element at the specified index.
|
ItsNatTableHeader |
getItsNatTableHeader()
Returns the associated component object.
|
ItsNatTableHeaderCellUI |
getItsNatTableHeaderCellUIAt(int index)
Returns an object info of the header column element at the specified position.
|
ItsNatTableHeaderCellUI |
getItsNatTableHeaderCellUIFromNode(org.w3c.dom.Node node)
Returns an object info of the header column element containing the specified node (or the node
is itself an element of the list).
|
int |
getLength()
Returns the number of header columns.
|
boolean |
isEmpty()
Informs whether the table header is empty (no columns).
|
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.
|
getItsNatElementComponent
getItsNatComponent
ItsNatTableHeader getItsNatTableHeader()
int getLength()
NodeList.getLength()
boolean isEmpty()
ElementListBase.isEmpty()
org.w3c.dom.Element getElementAt(int index)
index
- index of the header column to search.ElementListBase.getElementAt(int)
org.w3c.dom.Element getContentElementAt(int index)
index
- index of the element.ItsNatTableStructure.getHeaderColumnContentElement(ItsNatTableHeader,int,Element)
,
ElementList.getContentElementAt(int)
ItsNatTableHeaderCellUI getItsNatTableHeaderCellUIAt(int index)
index
- index of the element to search for.getItsNatTableHeaderCellUIFromNode(Node)
,
ElementListBase.getListElementInfoAt(int)
ItsNatTableHeaderCellUI getItsNatTableHeaderCellUIFromNode(org.w3c.dom.Node node)
node
- the node to search for.getItsNatTableHeaderCellUIAt(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()
Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.