public interface ItsNatTableHeaderCellRenderer
ItsNatComponentManager.createDefaultItsNatTableHeaderCellRenderer()
,
ItsNatTableHeader.getItsNatTableHeaderCellRenderer()
,
ItsNatTableHeader.setItsNatTableHeaderCellRenderer(ItsNatTableHeaderCellRenderer)
Modifier and Type | Method and Description |
---|---|
void |
renderTableHeaderCell(ItsNatTableHeader tableHeader,
int column,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
org.w3c.dom.Element columnContentElem,
boolean isNew)
Renders as markup the specified column value of the table header into the specified element, usually
as a text node.
|
void |
unrenderTableHeaderCell(ItsNatTableHeader tableHeader,
int column,
org.w3c.dom.Element columnContentElem)
Unrenders the markup of the specified header column.
|
void renderTableHeaderCell(ItsNatTableHeader tableHeader, int column, java.lang.Object value, boolean isSelected, boolean hasFocus, org.w3c.dom.Element columnContentElem, boolean isNew)
Default implementation delegates to the default ElementRenderer
.
Default implementation ignores isSelected
and hasFocus
(current implementation of ItsNat tables does not handle focus on table header columns, ever is false).
tableHeader
- the table header component, may be used to provide contextual information. Default implementation ignores it.column
- the column index.value
- the value to render.isSelected
- true if the column is selected.hasFocus
- true if the column has the focus.columnContentElem
- the table column content element to render the value into.
Is a hint, if provided should be obtained by calling tableHeader.getItsNatTableHeaderUI().getColumnContentElementAt(column)
.isNew
- true if this is the first time the markup is rendered. Default implementation ignores this parameter.void unrenderTableHeaderCell(ItsNatTableHeader tableHeader, int column, org.w3c.dom.Element columnContentElem)
Default implementation does nothing.
tableHeader
- the table header component, may be used to provide contextual information. Default implementation ignores it.column
- the column index.columnContentElem
- the table column content element to render the value into.
Is a hint, if provided should be obtained by calling tableHeader.getItsNatTableHeaderUI().getColumnContentElementAt(column)
.Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.