|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacoco.report.html.LabelColumn
public class LabelColumn
Column for the item label. The implementation is stateless, instances might be used in parallel.
ICoverageTableItem.getLabel()
,
ICoverageTableItem.getLink(org.jacoco.report.ReportOutputFolder)
Constructor Summary | |
---|---|
LabelColumn()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabelColumn()
Method Detail |
---|
public void init(List<ICoverageTableItem> items, ICoverageNode total)
ICoverageTableColumn
init
in interface ICoverageTableColumn
items
- all items that will be displayed in the tabletotal
- the summary of all coverage data items in the tablepublic void header(HTMLElement tr, Resources resources, ReportOutputFolder base) throws IOException
ICoverageTableColumn
header
in interface ICoverageTableColumn
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 outputpublic void footer(HTMLElement tr, ICoverageNode total, Resources resources, ReportOutputFolder base) throws IOException
ICoverageTableColumn
footer
in interface ICoverageTableColumn
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 outputpublic void item(HTMLElement tr, ICoverageTableItem item, Resources resources, ReportOutputFolder base) throws IOException
ICoverageTableColumn
item
in interface ICoverageTableColumn
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 |