public class PlotRunner extends Object implements Callable<org.jfree.chart.JFreeChart>, IConfigurable
| Constructor and Description |
|---|
PlotRunner(org.jfree.chart.plot.Plot plot1,
String title1,
String filename1,
File outputDir) |
| Modifier and Type | Method and Description |
|---|---|
org.jfree.chart.JFreeChart |
call() |
void |
configure(org.apache.commons.configuration.Configuration cfg) |
File |
getFile() |
String |
getFilename() |
String |
getFiletype() |
String |
getFontFamily() |
int |
getImgheight() |
int |
getImgwidth() |
org.jfree.chart.plot.Plot |
getPlot() |
JFrame |
getTargetContainer() |
String |
getTitle() |
boolean |
isHeadless() |
boolean |
isSaveGraphics() |
boolean |
isSerializeJFreeChart() |
boolean |
isSizeOverride() |
boolean |
isStop() |
void |
setFile(File file) |
void |
setFilename(String filename) |
void |
setFiletype(String filetype) |
void |
setFontFamily(String fontFamily) |
void |
setHeadless(boolean b) |
void |
setImgheight(int imgheight) |
void |
setImgwidth(int imgwidth) |
void |
setPlot(org.jfree.chart.plot.Plot plot) |
void |
setSaveGraphics(boolean saveGraphics1) |
void |
setSerializeJFreeChart(boolean serializeJFreeChart1) |
void |
setSizeOverride(boolean sizeOverride) |
void |
setStop(boolean stop1) |
void |
setTargetContainer(JFrame jf) |
void |
setTitle(String title) |
public org.jfree.chart.JFreeChart call()
throws Exception
public void configure(org.apache.commons.configuration.Configuration cfg)
configure in interface IConfigurablepublic File getFile()
public String getFilename()
public String getFiletype()
public String getFontFamily()
public int getImgheight()
public int getImgwidth()
public org.jfree.chart.plot.Plot getPlot()
public JFrame getTargetContainer()
public String getTitle()
public boolean isHeadless()
public boolean isSaveGraphics()
public boolean isSerializeJFreeChart()
public boolean isSizeOverride()
public boolean isStop()
public void setFile(File file)
file - the file to setpublic void setFilename(String filename)
filename - the filename to setpublic void setFiletype(String filetype)
filetype - the filetype to setpublic void setFontFamily(String fontFamily)
fontFamily - the fontFamily to setpublic void setHeadless(boolean b)
public void setImgheight(int imgheight)
imgheight - the imgheight to setpublic void setImgwidth(int imgwidth)
imgwidth - the imgwidth to setpublic void setPlot(org.jfree.chart.plot.Plot plot)
plot - the plot to setpublic void setSaveGraphics(boolean saveGraphics1)
public void setSerializeJFreeChart(boolean serializeJFreeChart1)
public void setSizeOverride(boolean sizeOverride)
sizeOverride - the sizeOverride to setpublic void setStop(boolean stop1)
public void setTargetContainer(JFrame jf)
public void setTitle(String title)
title - the title to setCopyright © 2007-2013. All Rights Reserved.