|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.nordija.tapestry.bayeux.stream.jfreechart.JFreeChartResource com.nordija.tapestry.bayeux.stream.jfreechart.SimpleJFreeChartResource
public class SimpleJFreeChartResource
A simple implementation of the JFreeChartResource
where all the data is given in the constructor.
This implementation defines no content-disposition header
Constructor Summary | |
---|---|
SimpleJFreeChartResource(org.jfree.chart.JFreeChart chart,
int height,
int width,
java.lang.String imageFormat)
|
Method Summary | |
---|---|
java.lang.String |
getContentDisposition()
|
int |
getHeight()
The height of the streamed chart |
java.lang.String |
getImageFormat()
The image format of the chart. |
int |
getWidth()
The width of the streamed chart |
Methods inherited from class com.nordija.tapestry.bayeux.stream.jfreechart.JFreeChartResource |
---|
getContentType, writeTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleJFreeChartResource(org.jfree.chart.JFreeChart chart, int height, int width, java.lang.String imageFormat)
Method Detail |
---|
public java.lang.String getImageFormat()
JFreeChartResource
The image format of the chart. Can be one of the following:
ImageFormat.JPEG
or ImageFormat.PNG
getImageFormat
in class JFreeChartResource
public int getHeight()
JFreeChartResource
getHeight
in class JFreeChartResource
public int getWidth()
JFreeChartResource
getWidth
in class JFreeChartResource
public java.lang.String getContentDisposition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |