|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jacoco.report.internal.html.page.ReportPage
org.jacoco.report.internal.html.page.NodePage<NodeType>
org.jacoco.report.internal.html.page.TablePage<org.jacoco.core.analysis.IClassCoverage>
org.jacoco.report.internal.html.page.ClassPage
public class ClassPage
Page showing coverage information for a class as a table of methods. The methods are linked to the corresponding source file.
| Field Summary |
|---|
| Fields inherited from class org.jacoco.report.internal.html.page.ReportPage |
|---|
context, folder |
| Constructor Summary | |
|---|---|
ClassPage(org.jacoco.core.analysis.IClassCoverage classNode,
ReportPage parent,
ILinkable sourcePage,
ReportOutputFolder folder,
IHTMLReportContext context)
Creates a new visitor in the given context. |
|
| Method Summary | |
|---|---|
protected void |
content(HTMLElement body)
Creates the actual content of the page. |
protected String |
getFileName()
Specifies the local file name of this page. |
String |
getLinkLabel()
Returns the display label used for the link. |
protected String |
getOnload()
Returns the onload handler for this page. |
void |
render()
Renders this page's content and optionally additional pages. |
| Methods inherited from class org.jacoco.report.internal.html.page.TablePage |
|---|
addItem, head |
| Methods inherited from class org.jacoco.report.internal.html.page.NodePage |
|---|
getLinkStyle, getNode |
| Methods inherited from class org.jacoco.report.internal.html.page.ReportPage |
|---|
getLink, infoLinks, isRootPage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jacoco.report.internal.html.ILinkable |
|---|
getLink |
| Constructor Detail |
|---|
public ClassPage(org.jacoco.core.analysis.IClassCoverage classNode,
ReportPage parent,
ILinkable sourcePage,
ReportOutputFolder folder,
IHTMLReportContext context)
classNode - coverage data for this classparent - optional hierarchical parentsourcePage - corresponding source page or nullfolder - base folder to create this page incontext - settings context| Method Detail |
|---|
protected String getOnload()
ReportPage
getOnload in class ReportPagenull
public void render()
throws IOException
ReportPage
render in class ReportPageIOException - if the page can't be writtenprotected String getFileName()
ReportPage
getFileName in class ReportPagepublic String getLinkLabel()
ILinkable
getLinkLabel in interface ILinkablegetLinkLabel in class NodePage<org.jacoco.core.analysis.IClassCoverage>
protected void content(HTMLElement body)
throws IOException
ReportPage
content in class TablePage<org.jacoco.core.analysis.IClassCoverage>body - body tag of the page
IOException - in case of IO problems with the report writer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||