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, wait
close, closeRow, closeTable, closeTableNoTopTag, getFileFormat, open, openRow, openTable, writeCell, writeHeading, writeHeadingCell, writeHorizontalRuler
public boolean rowIsOpen()
rowIsOpen
in interface TableFormatter
TableFormatter.rowIsOpen()
public boolean tableIsOpen()
tableIsOpen
in interface TableFormatter
TableFormatter.tableIsOpen()
public java.lang.String writeTime(java.lang.String t)
writeTime
in interface TableFormatter
t
- time stringTableFormatter.writeTime(java.lang.String)
public int timePrecision()
TableFormatter
timePrecision
in interface TableFormatter
TableFormatter.timePrecision()
public void setOutput(FileOutput out)
setOutput
in interface TableFormatter
out
- desmoj.report.FileOutputpublic void setTimePrecision(int tf)
setTimePrecision
in interface TableFormatter
tf
- time precisionpublic void openRow(Reporter rep)
rep
- Reporter which will be displayed in new row