public class JFreeReport extends ReportDefinition implements ReportStructureRoot
TableModel
, Expression
s
or ReportParameters
.
New since 0.9: Report properties contain data. They do not contain processing
objects (like the outputtarget) or attribute values. Report properties should
only contains things, which are intended for printing.
The report data source is no longer part of the report definition. It is an
extra object passed over to the report processor or generated using a report
data factory.ID_ATTRIBUTE, NAME_ATTRIBUTE, NAMESPACE_ATTRIBUTE, TYPE_ATTRIBUTE, VIRTUAL_ATTRIBUTE
Constructor and Description |
---|
JFreeReport()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addStyleSheet(org.jfree.layouting.input.style.StyleSheet s) |
java.lang.Object |
clone()
private ModifiableConfiguration reportConfiguration;
private ArrayList styleSheets;
private StyleSheet pageFormatStyleSheet;
private CSSPageRule pageRule;
private ReportParameters parameters;
private ReportDataFactory dataFactory;
private ResourceManager resourceManager;
private ResourceKey baseResource;
|
org.pentaho.reporting.libraries.resourceloader.ResourceKey |
getBaseResource() |
org.pentaho.reporting.libraries.base.config.Configuration |
getConfiguration()
Returns the report configuration.
|
ReportDataFactory |
getDataFactory() |
org.pentaho.reporting.libraries.base.config.ModifiableConfiguration |
getEditableConfiguration() |
ReportParameters |
getInputParameters() |
java.util.Locale |
getLocale() |
java.awt.print.PageFormat |
getPageFormat() |
org.pentaho.reporting.libraries.resourceloader.ResourceManager |
getResourceManager() |
JFreeReport |
getRootReport() |
org.jfree.layouting.input.style.StyleSheet |
getStyleSheet(int i) |
int |
getStyleSheetCount() |
void |
removeStyleSheet(org.jfree.layouting.input.style.StyleSheet s) |
void |
setBaseResource(org.pentaho.reporting.libraries.resourceloader.ResourceKey baseResource) |
void |
setDataFactory(ReportDataFactory dataFactory) |
void |
setPageFormat(java.awt.print.PageFormat format) |
void |
setResourceManager(org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager) |
getGroup, getQuery, getReport, setQuery
addNode, addNode, addNodes, addOperationAfter, addOperationBefore, findFirstChild, getElementByName, getNode, getNodeArray, getNodeCount, getNodes, getOperationAfter, getOperationBefore, isRepeat, removeNode, setOperationAfter, setOperationBefore, setRepeat, toString
addExpression, getAttribute, getAttribute, getAttributeExpression, getAttributeExpression, getAttributeExpressionMap, getAttributeExpressions, getAttributeMap, getDisplayCondition, getExpressions, getId, getLocaleFromAttributes, getName, getNamespace, getStyle, getStyleExpression, getStyleExpressions, getType, getVisibility, isEnabled, isVirtual, setAttribute, setAttribute, setAttributeExpression, setAttributeExpression, setDisplayCondition, setEnabled, setExpressions, setId, setName, setNamespace, setStyleExpression, setType, setVirtual, setVisibility
getParent, setParent, updateParent
public JFreeReport()
public org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
getConfiguration
in interface ReportStructureRoot
public void addStyleSheet(org.jfree.layouting.input.style.StyleSheet s)
public void removeStyleSheet(org.jfree.layouting.input.style.StyleSheet s)
public org.jfree.layouting.input.style.StyleSheet getStyleSheet(int i)
public int getStyleSheetCount()
public JFreeReport getRootReport()
getRootReport
in class Node
public ReportParameters getInputParameters()
getInputParameters
in interface ReportStructureRoot
public ReportDataFactory getDataFactory()
getDataFactory
in interface ReportStructureRoot
public void setDataFactory(ReportDataFactory dataFactory)
public org.pentaho.reporting.libraries.resourceloader.ResourceManager getResourceManager()
getResourceManager
in interface ReportStructureRoot
public void setResourceManager(org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager)
public org.pentaho.reporting.libraries.resourceloader.ResourceKey getBaseResource()
getBaseResource
in interface ReportStructureRoot
public void setBaseResource(org.pentaho.reporting.libraries.resourceloader.ResourceKey baseResource)
public void setPageFormat(java.awt.print.PageFormat format)
public java.awt.print.PageFormat getPageFormat()
public org.pentaho.reporting.libraries.base.config.ModifiableConfiguration getEditableConfiguration()
public java.util.Locale getLocale()
getLocale
in interface ReportStructureRoot
getLocale
in class Element
public java.lang.Object clone() throws java.lang.CloneNotSupportedException