org.jfree.report.util
Class ReportProperties

java.lang.Object
  extended byorg.jfree.report.util.ReportProperties
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class ReportProperties
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

The report properties is a hashtable with string keys. ReportProperties are bound to a report as a general purpose storage. ReportProperties bound to a JFreeReport object are visible to all generated report-state chains. A ReportState will inherit all ReportProperties bound to the JFreeReport-object when the ReportState.StartState object is created. Properties bound to the report definition after the report state is created are not visible to the ReportState and its children.

ReportProperties bound to a ReportState are not visible to the report definition (the JFreeReport object), but are visible to all ReportStates of that ReportState-chain. So when you add a property at the end of a report run to a ReportState, the value of this property will be visible to all ReportStates when the report is restarted at a certain point.

ReportProperties can be seen as a stateless shared report internal storage area. All functions have access to the properties by using the ReportState.getProperty() and ReportState.setProperty() functions.

JFreeReport has defined properties to publish the current state of the report: