Package org.jfree.report.data
Class GlobalMasterRow
java.lang.Object
org.jfree.report.data.GlobalMasterRow
This data row holds all statefull information from the datasources of the
report.
When doing subreports, a datarow only has access to its own dataset and the
columns from the next direct subreport, which have been marked as exported.
- Author:
- Thomas Morgner
-
Method Summary
Modifier and TypeMethodDescriptionadvance()
This advances the cursor by one row and updates the flags.static GlobalMasterRow
createReportRow
(GlobalMasterRow parentRow, ReportContext reportContext) static GlobalMasterRow
createReportRow
(ReportContext reportContext) void
dataRowChanged
(MasterDataRowChangeEvent chEvent) A call back method to communicate structural changes back to the master rows.derive()
Derives an instance of this datarow.boolean
void
setExportedDataRow
(ImportedVariablesDataRow importedDataRow) void
setParameterDataRow
(ParameterDataRow parameterDataRow) void
setReportDataRow
(ReportDataRow reportDataRow)
-
Method Details
-
createReportRow
-
createReportRow
public static GlobalMasterRow createReportRow(GlobalMasterRow parentRow, ReportContext reportContext) -
getExpressionDataRow
-
getReportDataRow
-
setReportDataRow
- Throws:
DataSourceException
-
getParameterDataRow
-
setParameterDataRow
- Throws:
DataSourceException
-
getParentDataRow
-
getImportedDataRow
-
setExportedDataRow
- Throws:
DataSourceException
-
derive
Derives an instance of this datarow. That copy is completly disconnected from the original one and no change made to that copy affects the original datarow.- Returns:
- the derived datarow.
- Throws:
DataSourceException
-
advance
This advances the cursor by one row and updates the flags.- Returns:
- Throws:
DataSourceException
-
isAdvanceable
- Throws:
DataSourceException
-
getGlobalView
-
dataRowChanged
A call back method to communicate structural changes back to the master rows. (This is only called from the expression row, as all other datarows are static).- Parameters:
chEvent
-- Throws:
DataSourceException
-