public class CranesSystemReporter extends StockReporter
CranesSystem
.
That means from the transporter and the cranes queue.Constructor and Description |
---|
CranesSystemReporter(Reportable informationSource)
Constructor for a new CranesSystemReporter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getEntries()
Returns an array of Strings each containing the data for the
corresponding column in array
columns[] . |
java.lang.String[] |
getStockColumnTitles()
Returns the titles of the wait queues part of this CranesSystemReporter
as an array of Strings.
|
java.lang.String[] |
getStockEntries()
Returns an array of Strings each containing the data for the
corresponding column in array
stockColumns[] . |
int |
getStockNumColumns()
Returns the number of columns of the wait queues part of this
CranesSystemReporter.
|
isContinuingReporter
getColumnTitles, getDescription, getGroupID, getHeading, getModel, getNumOfSlaveQueues, getReportable, isEqual, isLarger, isOtherGroup, isSameGroup, isTwoRowReporter, makeAdditionalColorEntryIfHTMLColorChartIsGenerated, numColumns
public CranesSystemReporter(Reportable informationSource)
informationSource
- desmoj.Reportable : The CranesSystem to report aboutpublic java.lang.String[] getEntries()
columns[]
. This method is
fetching the data from this CranesSystem. Implement this method in a way,
that an array of the same length as the column titles is produced
containing the data at the point of time this method is called by someone
else to produce up-to-date information.getEntries
in class StockReporter
public java.lang.String[] getStockColumnTitles()
getStockColumnTitles
in class StockReporter
public java.lang.String[] getStockEntries()
stockColumns[]
. This method
is fetching the data from the master Stock. Implement this method in a
way, that an array of the same length as the stockColumns titles is
produced containing the data at the point of time this method is called
by someone else to produce up-to-date information.getStockEntries
in class StockReporter
public int getStockNumColumns()
getStockNumColumns
in class StockReporter