| org.itsnat.comp.ItsNatTableHeaderCellRenderer
All known Subclasses: org.itsnat.impl.comp.ItsNatTableHeaderCellRendererDefaultImpl,
Method Summary | |
public void | renderTableHeaderCell(ItsNatTableHeader tableHeader, int column, Object value, boolean isSelected, boolean hasFocus, Element columnContentElem, boolean isNew) Renders as markup the specified column value of the table header into the specified element, usually
as a text node.
Default implementation delegates to the default
org.itsnat.core.domutil.ElementRenderer .
Default implementation ignores isSelected and hasFocus
(current implementation of ItsNat tables does not handle focus on table header columns, ever is false).
Parameters: tableHeader - the table header component, may be used to provide contextual information. | public void | unrenderTableHeaderCell(ItsNatTableHeader tableHeader, int column, Element columnContentElem) Unrenders the markup of the specified header column. |
renderTableHeaderCell | public void renderTableHeaderCell(ItsNatTableHeader tableHeader, int column, Object value, boolean isSelected, boolean hasFocus, Element columnContentElem, boolean isNew)(Code) | | Renders as markup the specified column value of the table header into the specified element, usually
as a text node.
Default implementation delegates to the default
org.itsnat.core.domutil.ElementRenderer .
Default implementation ignores isSelected and hasFocus
(current implementation of ItsNat tables does not handle focus on table header columns, ever is false).
Parameters: tableHeader - the table header component, may be used to provide contextual information. Default implementation ignores it. Parameters: column - the column index. Parameters: value - the value to render. Parameters: isSelected - true if the column is selected. Parameters: hasFocus - true if the column has the focus. Parameters: 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) . Parameters: isNew - true if this is the first time the markup is rendered. Default implementation ignores this parameter. |
unrenderTableHeaderCell | public void unrenderTableHeaderCell(ItsNatTableHeader tableHeader, int column, Element columnContentElem)(Code) | | Unrenders the markup of the specified header column. This method is called before the markup
is removed.
Default implementation does nothing.
Parameters: tableHeader - the table header component, may be used to provide contextual information. Default implementation ignores it. Parameters: column - the column index. Parameters: 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) . |
|
|