ILinkable
, ITableItem
public class SourceFilePage extends NodePage<ISourceNode>
context, folder
Constructor | Description |
---|---|
SourceFilePage(ISourceNode sourceFileNode,
java.io.Reader sourceReader,
int tabWidth,
ReportPage parent,
ReportOutputFolder folder,
IHTMLReportContext context) |
Creates a new page with given information.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
content(HTMLElement body) |
Creates the actual content of the page.
|
protected java.lang.String |
getFileName() |
Specifies the local file name of this page.
|
protected java.lang.String |
getOnload() |
Returns the onload handler for this page.
|
protected void |
head(HTMLElement head) |
Creates the elements within the head element.
|
getLinkLabel, getLinkStyle, getNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLink, infoLinks, isRootPage, render
public SourceFilePage(ISourceNode sourceFileNode, java.io.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 java.io.IOException
ReportPage
content
in class ReportPage
body
- body tag of the pagejava.io.IOException
- in case of IO problems with the report writerprotected void head(HTMLElement head) throws java.io.IOException
ReportPage
head
in class ReportPage
head
- head tag of the pagejava.io.IOException
- in case of IO problems with the report writerprotected java.lang.String getOnload()
ReportPage
getOnload
in class ReportPage
null
protected java.lang.String getFileName()
ReportPage
getFileName
in class ReportPage
Copyright © 2018. All rights reserved.