se.optimatika.jfree.chart
Class JFreeChartAdaptor
java.lang.Object
se.optimatika.jfree.chart.JFreeChartAdaptor
- All Implemented Interfaces:
- ChartBuilder.ChartResource<JFreeChart>
public final class JFreeChartAdaptor
- extends Object
- implements ChartBuilder.ChartResource<JFreeChart>
JFreeChartAdaptor
public JFreeChartAdaptor(JFreeChart aDelegate)
getBackground
public Paint getBackground()
- Specified by:
getBackground
in interface ChartBuilder.ChartResource<JFreeChart>
getDelegate
public JFreeChart getDelegate()
- Specified by:
getDelegate
in interface ChartBuilder.ChartResource<JFreeChart>
getHeight
public int getHeight()
- Specified by:
getHeight
in interface ChartBuilder.ChartResource<JFreeChart>
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interface ChartBuilder.ChartResource<JFreeChart>
getWidth
public int getWidth()
- Specified by:
getWidth
in interface ChartBuilder.ChartResource<JFreeChart>
setBackground
public void setBackground(Paint aPaint)
- Specified by:
setBackground
in interface ChartBuilder.ChartResource<JFreeChart>
setHeight
public void setHeight(int aHeight)
- Specified by:
setHeight
in interface ChartBuilder.ChartResource<JFreeChart>
setWidth
public void setWidth(int aWidth)
- Specified by:
setWidth
in interface ChartBuilder.ChartResource<JFreeChart>
toByteArray
public byte[] toByteArray()
- Specified by:
toByteArray
in interface ChartBuilder.ChartResource<JFreeChart>