|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jacoco.report.internal.html.table.Table
public class Table
Renderer for a table of ITableItems.
| Constructor Summary | |
|---|---|
Table()
Create a new table without any columns yet. |
|
| Method Summary | |
|---|---|
void |
add(String header,
String style,
IColumnRenderer renderer,
boolean defaultSorting)
Adds a new column with the given properties to the table. |
void |
render(HTMLElement parent,
List<? extends ITableItem> items,
org.jacoco.core.analysis.ICoverageNode total,
Resources resources,
ReportOutputFolder base)
Renders a table for the given icon |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Table()
| Method Detail |
|---|
public void add(String header,
String style,
IColumnRenderer renderer,
boolean defaultSorting)
header - column header captionstyle - optional CSS style class name for the td-Elements of this
columnrenderer - callback for column renderingdefaultSorting - If true, this column is the default sorting
column. Only one column can be selected for default sorting.
public void render(HTMLElement parent,
List<? extends ITableItem> items,
org.jacoco.core.analysis.ICoverageNode total,
Resources resources,
ReportOutputFolder base)
throws IOException
parent - parent element in which the table is createditems - items that will make the table rowstotal - the summary of all coverage data items in the table static
resources that might be referencedresources - 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 | |||||||||