C# Class Encog.Util.HTMLReport

A utility for generating HTML reports.
Mostra file Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
BeginBody ( ) : void

Begin the HTML body.

BeginHTML ( ) : void

Begin an HTML tag.

BeginList ( ) : void

Begin a list.

BeginPara ( ) : void

Begin an HTML para.

BeginRow ( ) : void

Begin a row of a table.

BeginTable ( ) : void

Begin a table.

BeginTableInCell ( int colSpan ) : void

Begin a new table in a cell.

Bold ( String str ) : void

Display in bold.

Cell ( String head ) : void

Add a cell, no column span.

Cell ( String head, int colSpan ) : void

Add a cell to a table.

Clear ( ) : void

Clear the report.

Encode ( String str ) : String

Encode a string for HTML.

EndBody ( ) : void

End the HTML body.

EndHTML ( ) : void

End an HTML tag.

EndList ( ) : void

End a list.

EndPara ( ) : void

End an HTML para.

EndRow ( ) : void

End a row of a table.

EndTable ( ) : void

End a table.

EndTableInCell ( ) : void

End a table in a cell.

H1 ( String title ) : void

Create a H1.

H2 ( String title ) : void

Add a H2.

H3 ( String title ) : void

Add a H3.

HTMLReport ( ) : System

Construct the object.

Header ( String head ) : void

Add a header cell.

ListItem ( String str ) : void

Add a list item.

Para ( String str ) : void

Display a para.

TablePair ( String name, String v ) : void

Add a name-value pair to a table. This includes a row.

Title ( String str ) : void

Set the title.

ToString ( ) : String

Convert the report to a string.

Method Details

BeginBody() public method

Begin the HTML body.
public BeginBody ( ) : void
return void

BeginHTML() public method

Begin an HTML tag.
public BeginHTML ( ) : void
return void

BeginList() public method

Begin a list.
public BeginList ( ) : void
return void

BeginPara() public method

Begin an HTML para.
public BeginPara ( ) : void
return void

BeginRow() public method

Begin a row of a table.
public BeginRow ( ) : void
return void

BeginTable() public method

Begin a table.
public BeginTable ( ) : void
return void

BeginTableInCell() public method

Begin a new table in a cell.
public BeginTableInCell ( int colSpan ) : void
colSpan int The column span.
return void

Bold() public method

Display in bold.
public Bold ( String str ) : void
str String
return void

Cell() public method

Add a cell, no column span.
public Cell ( String head ) : void
head String The head of that call.
return void

Cell() public method

Add a cell to a table.
public Cell ( String head, int colSpan ) : void
head String The text for the cell.
colSpan int The col span.
return void

Clear() public method

Clear the report.
public Clear ( ) : void
return void

Encode() public static method

Encode a string for HTML.
public static Encode ( String str ) : String
str String The string to encode.
return String

EndBody() public method

End the HTML body.
public EndBody ( ) : void
return void

EndHTML() public method

End an HTML tag.
public EndHTML ( ) : void
return void

EndList() public method

End a list.
public EndList ( ) : void
return void

EndPara() public method

End an HTML para.
public EndPara ( ) : void
return void

EndRow() public method

End a row of a table.
public EndRow ( ) : void
return void

EndTable() public method

End a table.
public EndTable ( ) : void
return void

EndTableInCell() public method

End a table in a cell.
public EndTableInCell ( ) : void
return void

H1() public method

Create a H1.
public H1 ( String title ) : void
title String
return void

H2() public method

Add a H2.
public H2 ( String title ) : void
title String The title.
return void

H3() public method

Add a H3.
public H3 ( String title ) : void
title String The title.
return void

HTMLReport() public method

Construct the object.
public HTMLReport ( ) : System
return System

Header() public method

Add a header cell.
public Header ( String head ) : void
head String The text to use.
return void

ListItem() public method

Add a list item.
public ListItem ( String str ) : void
str String The item added.
return void

Para() public method

Display a para.
public Para ( String str ) : void
str String The para to display.
return void

TablePair() public method

Add a name-value pair to a table. This includes a row.
public TablePair ( String name, String v ) : void
name String The name.
v String The value.
return void

Title() public method

Set the title.
public Title ( String str ) : void
str String The title.
return void

ToString() public method

Convert the report to a string.
public ToString ( ) : String
return String