public class ReportChartCreator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ReportChartCreator.PointStatistics |
static class |
ReportChartCreator.StartsAndRuntimeWrapper |
(package private) class |
ReportChartCreator.StreamHandler |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.ResourceBundle |
bundle |
private java.lang.String |
chartName |
private java.io.File |
commentFile |
private java.io.File |
eventFile |
private java.io.File |
exportFile |
private java.lang.String |
html |
static java.lang.String |
IMAGE_CONTENT_ID |
private static int |
IMAGE_HEIGHT |
private static java.lang.String |
IMAGE_SERVLET |
private static int |
IMAGE_WIDTH
This image width is specifically chosen such that the report will print on a single page width in landscape.
|
private byte[] |
imageData |
private java.util.List<java.lang.String> |
inlineImageList |
(package private) java.lang.String |
inlinePrefix |
(package private) static org.apache.commons.logging.Log |
LOG |
static int |
POINT_IMAGE_HEIGHT |
static int |
POINT_IMAGE_WIDTH |
private java.util.List<ReportChartCreator.PointStatistics> |
pointStatistics |
Constructor and Description |
---|
ReportChartCreator(java.util.ResourceBundle bundle) |
Modifier and Type | Method and Description |
---|---|
void |
createContent(ReportInstance reportInstance,
ReportDao reportDao,
java.lang.String inlinePrefix,
boolean createExportFile)
Uses the given parameters to create the data for the fields of this class.
|
java.lang.String |
getChartName() |
java.io.File |
getCommentFile() |
java.io.File |
getEventFile() |
java.io.File |
getExportFile() |
java.lang.String |
getHtml() |
byte[] |
getImageData() |
java.util.List<java.lang.String> |
getInlineImageList() |
java.util.List<ReportChartCreator.PointStatistics> |
getPointStatistics() |
static final org.apache.commons.logging.Log LOG
private static final java.lang.String IMAGE_SERVLET
private static final int IMAGE_WIDTH
private static final int IMAGE_HEIGHT
public static final java.lang.String IMAGE_CONTENT_ID
public static final int POINT_IMAGE_WIDTH
public static final int POINT_IMAGE_HEIGHT
java.lang.String inlinePrefix
private java.lang.String html
private java.util.List<java.lang.String> inlineImageList
private byte[] imageData
private java.lang.String chartName
private java.io.File exportFile
private java.io.File eventFile
private java.io.File commentFile
private java.util.List<ReportChartCreator.PointStatistics> pointStatistics
final java.util.ResourceBundle bundle
public void createContent(ReportInstance reportInstance, ReportDao reportDao, java.lang.String inlinePrefix, boolean createExportFile)
reportInstance
- reportDao
- inlinePrefix
- if this is non-null, it implies that the content should be inline.createExportFile
- public java.lang.String getHtml()
public java.util.List<java.lang.String> getInlineImageList()
public java.lang.String getChartName()
public byte[] getImageData()
public java.io.File getExportFile()
public java.io.File getEventFile()
public java.io.File getCommentFile()
public java.util.List<ReportChartCreator.PointStatistics> getPointStatistics()