public class SourceFilePage extends NodePage<ISourceFileCoverage>
context, folder
Constructor and Description |
---|
SourceFilePage(ISourceFileCoverage 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, isRootPage, render
public SourceFilePage(ISourceFileCoverage sourceFileNode, Reader sourceReader, int tabWidth, ReportPage parent, ReportOutputFolder folder, IHTMLReportContext context)
sourceFileNode
- sourceReader
- tabWidth
- parent
- folder
- context
- protected 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 © 2012. All Rights Reserved.