Package ca.spatial.patchworks
Class PatchReport
java.lang.Object
ca.spatial.reportwriter.Report
ca.spatial.patchworks.PatchReport
- All Implemented Interfaces:
Selectable<Report>
,Comparable<Report>
The PatchReport class describes the area distribution of connected
patches on a landscape.
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.spatial.reportwriter.Report
Report.GetNodesAt
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic String[]
This field describes the multiple renderings that are supported by the report.Fields inherited from class ca.spatial.reportwriter.Report
AREA, LINE, PIE, SIDE_BY_SIDE_BARS, STACKED_BARS
-
Constructor Summary
ConstructorsConstructorDescriptionPatchReport(String filename, String title, String units, AttributeStore sourceDataTable, String reselectExpression, Topology topology, String valueExpression, RangeLabel[] classes, int periods, String additionalHTML)
Deprecated.Use the other constructor.PatchReport(String filename, String title, String units, AttributeStore sourceDataTable, String reselectExpression, Topology topology, String valueExpression, RangeLabel[] classes, String additionalHTML)
-
Method Summary
Modifier and TypeMethodDescriptionca.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.int[]
String[]
getTypes()
An accessor function to retrieve the list of report types supported by this report.getUnits()
void
setClasses(RangeLabel[] classes)
void
setExpression(String expression)
void
setHTMLText(String text)
setPeriods(int[] periodList)
void
setReselectExpression(String expression)
void
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
This field describes the multiple renderings that are supported by the report. In this case the report supports html, csv, and png.
-
-
Constructor Details
-
PatchReport
public PatchReport(String filename, String title, String units, AttributeStore sourceDataTable, String reselectExpression, Topology topology, String valueExpression, RangeLabel[] classes, String additionalHTML) -
PatchReport
public PatchReport(String filename, String title, String units, AttributeStore sourceDataTable, String reselectExpression, Topology topology, String valueExpression, RangeLabel[] classes, int periods, String additionalHTML)Deprecated.Use the other constructor.
-
-
Method Details
-
getUnits
-
setUnits
-
setExpression
-
getExpression
-
setReselectExpression
-
getReselectExpression
-
getClasses
-
setClasses
-
getHTMLText
-
setHTMLText
-
getTopology
-
setPeriods
-
getPeriods
public int[] getPeriods() -
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.
-