|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICoverageTableColumn
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 tr,
ICoverageNode total,
Resources resources,
ReportOutputFolder base)
Renders the footer for this column. |
void |
header(HTMLElement tr,
Resources resources,
ReportOutputFolder base)
Renders the header for this column. |
void |
init(List<ICoverageTableItem> items,
ICoverageNode total)
Initializes the column before any output method is called. |
void |
item(HTMLElement tr,
ICoverageTableItem item,
Resources resources,
ReportOutputFolder base)
Renders a single item in this column. |
Method Detail |
---|
void init(List<ICoverageTableItem> items, ICoverageNode total)
items
- all items that will be displayed in the tabletotal
- the summary of all coverage data items in the tablevoid header(HTMLElement tr, Resources resources, ReportOutputFolder base) throws IOException
tr
- the parent table rowresources
- static resources that might be referencedbase
- base folder of the table
IOException
- in case of IO problems with the element outputvoid footer(HTMLElement tr, ICoverageNode total, Resources resources, ReportOutputFolder base) throws IOException
tr
- the parent table rowtotal
- 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 tr, ICoverageTableItem item, Resources resources, ReportOutputFolder base) throws IOException
tr
- the parent table rowitem
- the item to displayresources
- static resources that might be referencedbase
- base folder of the table
IOException
- in case of IO problems with the element output
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |