public class SourceFilePage extends NodePage<ISourceNode>
context, folder
Constructor and Description |
---|
SourceFilePage(ISourceNode sourceFileNode,
Reader sourceReader,
int tabWidth,
ReportPage parent,
ReportOutputFolder folder,
IHTMLReportContext context)
Creates a new page with given information.
|
Modifier and Type | Method and Description |
---|---|
protected void |
content(HTMLElement body)
Creates the actual content of the page.
|
protected String |
getFileName()
Specifies the local file name of this page.
|
protected String |
getOnload()
Returns the onload handler for this page.
|
protected void |
head(HTMLElement head)
Creates the elements within the head element.
|
getLinkLabel, getLinkStyle, getNode
getLink, infoLinks, isRootPage, render
public SourceFilePage(ISourceNode sourceFileNode, Reader sourceReader, int tabWidth, ReportPage parent, ReportOutputFolder folder, IHTMLReportContext context)
sourceFileNode
- coverage data for this source filesourceReader
- reader for the source codetabWidth
- number of character per tabparent
- optional hierarchical parentfolder
- base folder for this pagecontext
- settings contextprotected void content(HTMLElement body) throws IOException
ReportPage
content
in class ReportPage
body
- body tag of the pageIOException
- in case of IO problems with the report writerprotected void head(HTMLElement head) throws IOException
ReportPage
head
in class ReportPage
head
- head tag of the pageIOException
- in case of IO problems with the report writerprotected String getOnload()
ReportPage
getOnload
in class ReportPage
null
protected String getFileName()
ReportPage
getFileName
in class ReportPage
Copyright © 2015. All rights reserved.