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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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()voidThis 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- 
HTMLFmterpublic 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- 
styleThe STYLE or LINK REL=STYLESHEET element for this HTML file, as the case may be
- 
styleA LINK REL=STYLESHEET element
- 
br
- 
brHtmlGenerates a BR in HTML mode, and a space otherwise. Handy for breaks in table headers.
- 
hr
- 
hrThin
- 
space
- 
wrapBuilds an HTML element with an opening tag (with optional attributes) and a matching closing tag.
- 
wrap
- 
input2
- 
input
- 
input
- 
input
- 
resetFormCntpublic void resetFormCnt()This must be called before the beginning of the document generation
- 
coloredBuilds an HTML FORM element for feedback about a charge, if this formatter is configured to generate them.
- 
a
- 
title
 
-