public class ClassPage extends TablePage<IClassCoverage>
context, folder
Constructor and Description |
---|
ClassPage(IClassCoverage classNode,
ReportPage parent,
ILinkable sourcePage,
ReportOutputFolder folder,
IHTMLReportContext context)
Creates a new visitor in the given context.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getLinkStyle, getNode
getLink, infoLinks, isRootPage
public ClassPage(IClassCoverage classNode, ReportPage parent, ILinkable sourcePage, ReportOutputFolder folder, IHTMLReportContext context)
classNode
- coverage data for this classparent
- optional hierarchical parentsourcePage
- corresponding source page or null
folder
- base folder to create this page incontext
- settings contextprotected String getOnload()
ReportPage
getOnload
in class ReportPage
null
public void render() throws IOException
ReportPage
render
in class ReportPage
IOException
- if the page can't be writtenprotected String getFileName()
ReportPage
getFileName
in class ReportPage
public String getLinkLabel()
ILinkable
getLinkLabel
in interface ILinkable
getLinkLabel
in class NodePage<IClassCoverage>
Copyright © 2016. All rights reserved.