se.optimatika.jfree.chart
Class JFreeChartAdaptor

java.lang.Object
  extended by se.optimatika.jfree.chart.JFreeChartAdaptor
All Implemented Interfaces:
ChartBuilder.ChartResource<JFreeChart>

public final class JFreeChartAdaptor
extends Object
implements ChartBuilder.ChartResource<JFreeChart>


Constructor Summary
JFreeChartAdaptor(JFreeChart aDelegate)
           
 
Method Summary
 Paint getBackground()
           
 JFreeChart getDelegate()
           
 int getHeight()
           
 String getMimeType()
           
 int getWidth()
           
 void setBackground(Paint aPaint)
           
 void setHeight(int aHeight)
           
 void setWidth(int aWidth)
           
 byte[] toByteArray()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JFreeChartAdaptor

public JFreeChartAdaptor(JFreeChart aDelegate)
Method Detail

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>