Package edu.wisc.game.formatter
Class HTMLFmter
java.lang.Object
edu.wisc.game.formatter.Fmter
edu.wisc.game.formatter.HTMLFmter
Auxiliary class for formatting output as HTML.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbr()
brHtml()
Generates a BR in HTML mode, and a space otherwise.Builds an HTML FORM element for feedback about a charge, if this formatter is configured to generate them.hr()
hrThin()
void
This must be called before the beginning of the document generationspace
(int n) style()
The STYLE or LINK REL=STYLESHEET element for this HTML file, as the case may beA LINK REL=STYLESHEET elementBuilds an HTML element with an opening tag (with optional attributes) and a matching closing tag.
-
Field Details
-
htmlFmter
-
-
Constructor Details
-
HTMLFmter
public HTMLFmter() -
HTMLFmter
- Parameters:
cssFile
- The location of the CSS file which will be inserted into the head of the HTML report (both the the batch mode and in the GUI tool)
-
HTMLFmter
-
-
Method Details
-
style
The STYLE or LINK REL=STYLESHEET element for this HTML file, as the case may be -
style
A LINK REL=STYLESHEET element -
br
-
brHtml
Generates a BR in HTML mode, and a space otherwise. Handy for breaks in table headers. -
hr
-
hrThin
-
space
-
wrap
Builds an HTML element with an opening tag (with optional attributes) and a matching closing tag. -
wrap
-
input2
-
input
-
input
-
input
-
resetFormCnt
public void resetFormCnt()This must be called before the beginning of the document generation -
colored
Builds an HTML FORM element for feedback about a charge, if this formatter is configured to generate them. -
a
-
title
-