public class ProportionalHtmlFile extends HtmlFile implements ProportionalList
Modifier and Type | Class and Description |
---|---|
static class |
ProportionalHtmlFile.Proportion |
Modifier and Type | Field and Description |
---|---|
static int |
HEADER_LINE_FIRST |
static int |
HEADER_LINE_LAST |
static int |
HEADER_LINE_MIDDLE |
static int |
HEADER_LINE_ONE_AND_ONLY |
HTML_FILE_EXTENSION
fileExtension, fileName, generator, mode, MODE_HTML, MODE_XML_XSL, title
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT
Constructor and Description |
---|
ProportionalHtmlFile(java.lang.String fileName,
java.lang.String title,
java.lang.String generator) |
Modifier and Type | Method and Description |
---|---|
void |
setProportion(ProportionalHtmlFile.Proportion proportion)
Sets the column default proportion to influence column width.
|
void |
writeTableHeader(java.lang.String[] columnHeaders)
Writes column names as header (bold).
|
void |
writeTableRow(java.lang.String[] values)
Writes column values.
|
beginRow, beginTable, endRow, endTable, getConvertedString, getConvertedStringForContent, outputFooter, outputHeader, outputHeader, outputHeader, outputHeader, outputItem, outTD, outTD, outTD, outTDb, outTDForContent, outTDr, outTDr, outTDrb, pageBreak, println, printlnNonConverted, writeTableRowNumeric, writeTableRowNumeric
close, finalize, flush, list, list, openOutputFile, openOutputWriter, presentInBrowser, startTableIfNecessary, stopTableIfNecessary, write, writeln, writelnNonConverted, writeNonConverted
public static final int HEADER_LINE_ONE_AND_ONLY
public static final int HEADER_LINE_FIRST
public static final int HEADER_LINE_MIDDLE
public static final int HEADER_LINE_LAST
public ProportionalHtmlFile(java.lang.String fileName, java.lang.String title, java.lang.String generator) throws java.io.IOException
java.io.IOException
public void setProportion(ProportionalHtmlFile.Proportion proportion)
ProportionalList
setProportion
in interface ProportionalList
public void writeTableHeader(java.lang.String[] columnHeaders)
writeTableHeader
in class HtmlFile
columnNames
- the column names to usepublic void writeTableRow(java.lang.String[] values)
HtmlFile
writeTableRow
in class HtmlFile
values
- the column values to writeCopyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de