public class PackageSourcePage extends TablePage<IPackageCoverage>
context, folder
Constructor and Description |
---|
PackageSourcePage(IPackageCoverage node,
ReportPage parent,
ISourceFileLocator locator,
ReportOutputFolder folder,
IHTMLReportContext context,
ILinkable packagePage)
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.
|
protected void |
infoLinks(HTMLElement span)
Inserts additional links on the top right corner.
|
void |
render()
Renders this page's content and optionally additional pages.
|
getLinkStyle, getNode
getLink, isRootPage
public PackageSourcePage(IPackageCoverage node, ReportPage parent, ISourceFileLocator locator, ReportOutputFolder folder, IHTMLReportContext context, ILinkable packagePage)
node
- coverage data for this packageparent
- optional hierarchical parentlocator
- source locatorfolder
- base folder to create this page incontext
- settings contextpackagePage
- page listing the classes of this packagepublic void render() throws IOException
ReportPage
render
in class ReportPage
IOException
- if the page can't be writtenprotected String getOnload()
ReportPage
getOnload
in class ReportPage
null
protected String getFileName()
ReportPage
getFileName
in class ReportPage
public String getLinkLabel()
ILinkable
getLinkLabel
in interface ILinkable
getLinkLabel
in class NodePage<IPackageCoverage>
protected void infoLinks(HTMLElement span) throws IOException
ReportPage
infoLinks
in class ReportPage
span
- parent elementIOException
- in case of IO problems with the report writerCopyright © 2019. All rights reserved.