public interface IColumnHeaderRenderer extends IRenderer
TreeTableColumn.getHeaderValue()). Header renderers need to make
sure that they visualize the sorting direction if sorting is applied on a
column.TreeTableHeader.setColumnHeaderRenderer(Class, IColumnHeaderRenderer)| Modifier and Type | Method and Description |
|---|---|
Component |
getColumnHeaderRendererComponent(TreeTableHeader header,
TreeTableColumn column,
boolean selected,
boolean hasFocus,
SortDirection sortDirection,
int sortPosition)
Returns a component that gets used to render the header of a column in
the tree table header component.
|
Component getColumnHeaderRendererComponent(TreeTableHeader header, TreeTableColumn column, boolean selected, boolean hasFocus, SortDirection sortDirection, int sortPosition)
header - the tree table header component in which the header will be
renderedcolumn - the column for which to draw a headerselected - a flag indicating whether the column is currently selectedhasFocus - a flag indicating whether the column currently has the focussortDirection - indicates whether the column is sorted and in which directionsortPosition - the sort position (important when doing a multi-column sort)Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.