IColumnRenderer
public class LabelColumn extends java.lang.Object implements IColumnRenderer
Constructor | Description |
---|---|
LabelColumn() |
Modifier and Type | Method | Description |
---|---|---|
void |
footer(HTMLElement td,
ICoverageNode total,
Resources resources,
ReportOutputFolder base) |
Renders the footer for this column.
|
java.util.Comparator<ITableItem> |
getComparator() |
Returns the comparator to sort this table column.
|
boolean |
init(java.util.List<? extends ITableItem> items,
ICoverageNode total) |
Initializes the column before any output method is called.
|
void |
item(HTMLElement td,
ITableItem item,
Resources resources,
ReportOutputFolder base) |
Renders a single item in this column.
|
public boolean init(java.util.List<? extends ITableItem> items, ICoverageNode total)
IColumnRenderer
init
in interface IColumnRenderer
items
- all items that will be displayed in the tabletotal
- the summary of all coverage data items in the tabletrue
if the column should be visiblepublic void footer(HTMLElement td, ICoverageNode total, Resources resources, ReportOutputFolder base) throws java.io.IOException
IColumnRenderer
footer
in interface IColumnRenderer
td
- the parent table celltotal
- the summary of all coverage data items in the tableresources
- static resources that might be referencedbase
- base folder of the tablejava.io.IOException
- in case of IO problems with the element outputpublic void item(HTMLElement td, ITableItem item, Resources resources, ReportOutputFolder base) throws java.io.IOException
IColumnRenderer
item
in interface IColumnRenderer
td
- the parent table cellitem
- the item to displayresources
- static resources that might be referencedbase
- base folder of the tablejava.io.IOException
- in case of IO problems with the element outputpublic java.util.Comparator<ITableItem> getComparator()
IColumnRenderer
getComparator
in interface IColumnRenderer
Copyright © 2018. All rights reserved.