Package ca.spatial.patchworks
Class ScenarioEventReport
java.lang.Object
ca.spatial.reportwriter.Report
ca.spatial.patchworks.ScenarioEventReport
- All Implemented Interfaces:
EventLogger
,Selectable<Report>
,Comparable<Report>
,Observer
This report logs significant events in the life cycle
of a Patchworks simulation run.
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.spatial.reportwriter.Report
Report.GetNodesAt
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic String
static String
static String
static String
static String
static String
static String
static String
static String[]
static String
Fields inherited from class ca.spatial.reportwriter.Report
AREA, LINE, PIE, SIDE_BY_SIDE_BARS, STACKED_BARS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
ca.spatial.reportwriter.Report.DataCache
doReport(String filename, PrintStream out, Map<String,Object> param, ca.spatial.reportwriter.Report.DataCache cache)
The method used by the report writer to format the requested report.String[]
getTypes()
An accessor function to retrieve the list of report types supported by this report.void
Add an event to the loggervoid
update(Observable o, Object args)
Methods inherited from class ca.spatial.reportwriter.Report
addDefaultParam, chartImg, compareTo, csvLink, doesAnyTypes, doesCSV, doesGIF, doesHTML, doesPNG, doesType, encodeFileURL, encodeURL, endMainContent, escapeRegexChars, footer, formatColumnHeadings, formatColumnHeadings, getAdditionalFiles, getAttributeStore, getBasepart, getBasepart, getDefaultFilename, getDisplayFormat, getExtension, getExtension, getFilename, getFolderpart, getFolderpart, getLength, getNamepart, getNamepart, getPathToRoot, getReportFor, getTitle, header, htmlText, indexLink, interpolateParams, isDhandler, isIndexed, isSelected, parentIndex, patternToRegex, setAttributeStore, setDefaultParams, setDisplayFormat, setIndexed, setSelected, setTitle, toString, uniqueLabels
-
Field Details
-
TYPES
-
USER_EVENT
- See Also:
- Constant Field Values
-
LOAD_FILE
- See Also:
- Constant Field Values
-
DIGEST
- See Also:
- Constant Field Values
-
SET_RANDOM
- See Also:
- Constant Field Values
-
INITIALIZED
- See Also:
- Constant Field Values
-
SCHEDULING
- See Also:
- Constant Field Values
-
CHANGE_TREATMENT
- See Also:
- Constant Field Values
-
CANCEL_TREATMENTS
- See Also:
- Constant Field Values
-
TARGET_CHANGED
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ScenarioEventReport
-
-
Method Details
-
doReport
public ca.spatial.reportwriter.Report.DataCache doReport(String filename, PrintStream out, Map<String,Object> param, ca.spatial.reportwriter.Report.DataCache cache)Description copied from class:Report
The method used by the report writer to format the requested report. This method is implemented in every custom report. Application programs generally do not need to call this method, but instead use the report writer methods to obtain reports. -
getTypes
Description copied from class:Report
An accessor function to retrieve the list of report types supported by this report. See the documentation for the TYPES variable for the list of sub-types. -
logEvent
Description copied from interface:EventLogger
Add an event to the logger- Specified by:
logEvent
in interfaceEventLogger
-
getControl
-
update
-
addNote
-
addNote
-