public abstract class TableReporter extends Reporter
Constructor and Description |
---|
TableReporter(Reportable is,
java.lang.String title)
Creates a new TableReporter for the given Reportable with the given title
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getEntries()
Returns a one-dimensional array of entries (Computed from getEntryTable()
by entries[numColumns * i + j] = entryTable[i][j]).
|
abstract java.lang.String[][] |
getEntryTable()
Should initialize and return the 2-dimensional entry table.
|
java.lang.String[][] |
getHeader()
Returns the header table (or null if no header should be printed in
report).
|
java.lang.String |
getTitle()
Returns the table reporter's title.
|
int |
numRows()
Returns the number of rows of this table reporter.
|
getColumnTitles, getDescription, getGroupID, getHeading, getModel, getNumOfSlaveQueues, getReportable, isContinuingReporter, isEqual, isLarger, isOtherGroup, isSameGroup, isTwoRowReporter, makeAdditionalColorEntryIfHTMLColorChartIsGenerated, numColumns
public TableReporter(Reportable is, java.lang.String title)
is
- the source of information to be displayed in the tabletitle
- title of the table reporterpublic java.lang.String[][] getHeader()
public java.lang.String[] getEntries()
getEntries
in class Reporter
public int numRows()
public java.lang.String getTitle()
public abstract java.lang.String[][] getEntryTable()