ILinkable
, ITableItem
public class PackagePage extends TablePage<IPackageCoverage>
context, folder
Constructor | Description |
---|---|
PackagePage(IPackageCoverage node,
ReportPage parent,
ISourceFileLocator locator,
ReportOutputFolder folder,
IHTMLReportContext context) |
Creates a new visitor in the given context.
|
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.String |
getFileName() |
Specifies the local file name of this page.
|
java.lang.String |
getLinkLabel() |
Returns the display label used for the link.
|
protected java.lang.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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLink, isRootPage
public PackagePage(IPackageCoverage node, ReportPage parent, ISourceFileLocator locator, ReportOutputFolder folder, IHTMLReportContext context)
node
- coverage data for this packageparent
- optional hierarchical parentlocator
- source locatorfolder
- base folder to create this page incontext
- settings contextpublic void render() throws java.io.IOException
ReportPage
render
in class ReportPage
java.io.IOException
- if the page can't be writtenprotected java.lang.String getOnload()
ReportPage
getOnload
in class ReportPage
null
protected java.lang.String getFileName()
ReportPage
getFileName
in class ReportPage
public java.lang.String getLinkLabel()
ILinkable
getLinkLabel
in interface ILinkable
getLinkLabel
in class NodePage<IPackageCoverage>
protected void infoLinks(HTMLElement span) throws java.io.IOException
ReportPage
infoLinks
in class ReportPage
span
- parent elementjava.io.IOException
- in case of IO problems with the report writerCopyright © 2018. All rights reserved.