public abstract class AbstractTableFormatter extends java.lang.Object implements TableFormatter
| Constructor and Description |
|---|
AbstractTableFormatter() |
| Modifier and Type | Method and Description |
|---|---|
void |
openRow(Reporter rep)
Opens a new row.
|
boolean |
rowIsOpen()
Sets tableOpen flag to true.
|
void |
setOutput(FileOutput out)
Sets an output file to write the table to
|
void |
setTimePrecision(int tf)
Sets the time precision
|
boolean |
tableIsOpen() |
int |
timePrecision()
Should return the precision used for time values.
|
java.lang.String |
writeTime(java.lang.String t)
Returns a formatted time string
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, closeRow, closeTable, closeTableNoTopTag, getFileFormat, open, openRow, openTable, writeCell, writeHeading, writeHeadingCell, writeHorizontalRulerpublic boolean rowIsOpen()
rowIsOpen in interface TableFormatterTableFormatter.rowIsOpen()public boolean tableIsOpen()
tableIsOpen in interface TableFormatterTableFormatter.tableIsOpen()public java.lang.String writeTime(java.lang.String t)
writeTime in interface TableFormattert - time stringTableFormatter.writeTime(java.lang.String)public int timePrecision()
TableFormattertimePrecision in interface TableFormatterTableFormatter.timePrecision()public void setOutput(FileOutput out)
setOutput in interface TableFormatterout - desmoj.report.FileOutputpublic void setTimePrecision(int tf)
setTimePrecision in interface TableFormattertf - time precisionpublic void openRow(Reporter rep)
rep - Reporter which will be displayed in new row