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, getNodegetLink, isRootPagepublic 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
ReportPagerender in class ReportPageIOException - if the page can't be writtenprotected String getOnload()
ReportPagegetOnload in class ReportPagenullprotected String getFileName()
ReportPagegetFileName in class ReportPagepublic String getLinkLabel()
ILinkablegetLinkLabel in interface ILinkablegetLinkLabel in class NodePage<IPackageCoverage>protected void infoLinks(HTMLElement span) throws IOException
ReportPageinfoLinks in class ReportPagespan - parent elementIOException - in case of IO problems with the report writerCopyright © 2024. All rights reserved.