|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IColumnRenderer
Renderer for a single column of a coverage table. The methods are always
called in the sequence init header footer item*
. Implementations
might be stateful.
Method Summary | |
---|---|
void |
footer(HTMLElement td,
ICoverageNode total,
Resources resources,
ReportOutputFolder base)
Renders the footer for this column. |
Comparator<ITableItem> |
getComparator()
Returns the comparator to sort this table column. |
boolean |
init(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. |
Method Detail |
---|
boolean init(List<? extends ITableItem> items, ICoverageNode total)
items
- all items that will be displayed in the tabletotal
- the summary of all coverage data items in the table
true
if the column should be visiblevoid footer(HTMLElement td, ICoverageNode total, Resources resources, ReportOutputFolder base) throws IOException
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 table
IOException
- in case of IO problems with the element outputvoid item(HTMLElement td, ITableItem item, Resources resources, ReportOutputFolder base) throws IOException
td
- the parent table cellitem
- the item to displayresources
- static resources that might be referencedbase
- base folder of the table
IOException
- in case of IO problems with the element outputComparator<ITableItem> getComparator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |