public class JFreeChartReportDrawable extends Object implements org.pentaho.reporting.engine.classic.core.util.ReportDrawable
| Constructor and Description |
|---|
JFreeChartReportDrawable(org.jfree.chart.JFreeChart chart,
boolean collectRenderingInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics2D graphics2D,
Rectangle2D bounds) |
org.jfree.chart.JFreeChart |
getChart() |
org.pentaho.reporting.engine.classic.core.imagemap.ImageMap |
getImageMap(Rectangle2D bounds)
Returns an optional image-map for the entry.
|
void |
setConfiguration(org.pentaho.reporting.libraries.base.config.Configuration config)
Provides the current report configuration of the current report process to the drawable.
|
void |
setResourceBundleFactory(org.pentaho.reporting.engine.classic.core.ResourceBundleFactory bundleFactory)
Defines the resource-bundle factory that can be used to localize the drawing process.
|
void |
setStyleSheet(org.pentaho.reporting.engine.classic.core.style.StyleSheet style)
Provides the computed stylesheet of the report element that contained this drawable.
|
public JFreeChartReportDrawable(org.jfree.chart.JFreeChart chart,
boolean collectRenderingInfo)
public void draw(Graphics2D graphics2D, Rectangle2D bounds)
draw in interface org.pentaho.reporting.engine.classic.core.util.ReportDrawablepublic void setConfiguration(org.pentaho.reporting.libraries.base.config.Configuration config)
setConfiguration in interface org.pentaho.reporting.engine.classic.core.util.ReportDrawableconfig - the report configuration.public void setStyleSheet(org.pentaho.reporting.engine.classic.core.style.StyleSheet style)
setStyleSheet in interface org.pentaho.reporting.engine.classic.core.util.ReportDrawablestyle - the stylesheet.public void setResourceBundleFactory(org.pentaho.reporting.engine.classic.core.ResourceBundleFactory bundleFactory)
setResourceBundleFactory in interface org.pentaho.reporting.engine.classic.core.util.ReportDrawablebundleFactory - the resource-bundle factory.public org.jfree.chart.JFreeChart getChart()
public org.pentaho.reporting.engine.classic.core.imagemap.ImageMap getImageMap(Rectangle2D bounds)
getImageMap in interface org.pentaho.reporting.engine.classic.core.util.ReportDrawablebounds - the bounds for which the image map is computed.Copyright © 2002–2017 Pentaho Corporation. All rights reserved.