Package ca.spatial.reportwriter
Class DecodeReport
java.lang.Object
ca.spatial.reportwriter.Report
ca.spatial.reportwriter.DecodeReport
- All Implemented Interfaces:
Selectable<Report>
,Comparable<Report>
This report is responsible for displaying report and map constructors.
It is part of the Patchworks system, but not intended for use within
scenarios.
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.spatial.reportwriter.Report
Report.GetNodesAt
-
Field Summary
FieldsFields inherited from class ca.spatial.reportwriter.Report
AREA, LINE, PIE, SIDE_BY_SIDE_BARS, STACKED_BARS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDecoder(String key, DecodeObject dobj)
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.boolean
This report should not be written out when a scenario is saved, so this method always returns false.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, parentIndex, patternToRegex, setAttributeStore, setDefaultParams, setDisplayFormat, setIndexed, setSelected, setTitle, toString, uniqueLabels
-
Field Details
-
TYPES
-
-
Constructor Details
-
DecodeReport
- Parameters:
filename
- The base filename part (without any extension).title
- A title to be given to the report. The title is ignored since it will not show up in the report index.rw
- TheReportWriter
object that this decoder is to be embedded within.
-
-
Method Details
-
addDecoder
-
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. -
isSelected
public boolean isSelected()This report should not be written out when a scenario is saved, so this method always returns false.- Specified by:
isSelected
in interfaceSelectable<Report>
- Overrides:
isSelected
in classReport
-
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.
-