Class PdfReportItem
- java.lang.Object
-
- de.uka.ipd.sdq.sensorframework.visualisation.rvisualisation.reportitems.AbstractRReportItem
-
- de.uka.ipd.sdq.sensorframework.visualisation.rvisualisation.reportitems.AbstractPlotReportItem
-
- de.uka.ipd.sdq.sensorframework.visualisation.rvisualisation.reportitems.PdfReportItem
-
- All Implemented Interfaces:
IReportItem
public class PdfReportItem extends AbstractPlotReportItem
Report item that displays probability distribution functions.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.uka.ipd.sdq.sensorframework.visualisation.rvisualisation.reportitems.AbstractPlotReportItem
AbstractPlotReportItem.LegendPosition
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_X_AXIS_LABELDefault label for the x axis.-
Fields inherited from class de.uka.ipd.sdq.sensorframework.visualisation.rvisualisation.reportitems.AbstractPlotReportItem
DEFAULT_FONT_SIZE, DEFAULT_GRAPHIC_SIZE, DEFAULT_LEGEND_POSITION
-
Fields inherited from class de.uka.ipd.sdq.sensorframework.visualisation.rvisualisation.reportitems.AbstractRReportItem
DEFAULT_DESCRIPTION
-
-
Constructor Summary
Constructors Constructor Description PdfReportItem(String title, int height, int width, int fontSize, String xAxisLabel)Constructs a new report item containing a plotted pdf graphic.PdfReportItem(String title, String xAxisLabel)Constructs a new report item containing a plotted pdf graphic.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgeneratePlotCommand()Overwrite this method to generate custom graphics.-
Methods inherited from class de.uka.ipd.sdq.sensorframework.visualisation.rvisualisation.reportitems.AbstractPlotReportItem
addData, generateColorsLegend, generateData, generateLinesLegend, generateRasterGraphic, generateVectorGraphic, getDataCommand, getDataSeries, getName, getTemporaryRasterGraphicFilename, getTemporaryVectorGraphicFilename, removeData, setLegendPos, visit
-
Methods inherited from class de.uka.ipd.sdq.sensorframework.visualisation.rvisualisation.reportitems.AbstractRReportItem
getDescription
-
-
-
-
Field Detail
-
DEFAULT_X_AXIS_LABEL
public static final String DEFAULT_X_AXIS_LABEL
Default label for the x axis.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PdfReportItem
public PdfReportItem(String title, String xAxisLabel)
Constructs a new report item containing a plotted pdf graphic. The graphic is stored in a temporary file. This is accessible via the getFilename method.- Parameters:
title- Title of the plotted graphic.xAxisLabel- Label for the x axis.
-
PdfReportItem
public PdfReportItem(String title, int height, int width, int fontSize, String xAxisLabel)
Constructs a new report item containing a plotted pdf graphic. The graphic is stored in a temporary file. This is accessible via the getFilename method.- Parameters:
title- Title of the plotted graphic.height- height of the plotted graphic.width- width of the plotted graphics.fontSize- the default pointsize of plotted text, interpreted at 72 dpi, so one point is approximately one pixel.xAxisLabel- Label for the x axis.
-
-
Method Detail
-
generatePlotCommand
protected String generatePlotCommand()
Overwrite this method to generate custom graphics.- Specified by:
generatePlotCommandin classAbstractPlotReportItem- Returns:
- The R command which execution leads to the creation of the plot.
-
-