to.etc.domui.component.dynaima
Class JGraphChartSource

java.lang.Object
  extended by to.etc.domui.component.dynaima.JGraphChartSource
All Implemented Interfaces:
IBufferedImageSource

public class JGraphChartSource
extends java.lang.Object
implements IBufferedImageSource


Constructor Summary
JGraphChartSource()
           
 
Method Summary
 void close()
           
 AreaCharter createAreaChart(int w, int h, java.lang.String title, java.lang.String buckettitle, java.lang.String valuetitle)
           
 void createGraph()
           
 PieCharter createPieChart(int w, int h, java.lang.String label)
           
 java.awt.image.BufferedImage getImage()
          Return or create the bufferedImage to output.
 java.lang.String getMimeType()
          The output format (mime for jpg, gif, png).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JGraphChartSource

public JGraphChartSource()
Method Detail

getMimeType

public java.lang.String getMimeType()
Description copied from interface: IBufferedImageSource
The output format (mime for jpg, gif, png).

Specified by:
getMimeType in interface IBufferedImageSource
Returns:

getImage

public java.awt.image.BufferedImage getImage()
                                      throws java.lang.Exception
Description copied from interface: IBufferedImageSource
Return or create the bufferedImage to output.

Specified by:
getImage in interface IBufferedImageSource
Returns:
Throws:
java.lang.Exception

createGraph

public void createGraph()
                 throws java.lang.Exception
Throws:
java.lang.Exception

close

public void close()

createPieChart

public PieCharter createPieChart(int w,
                                 int h,
                                 java.lang.String label)

createAreaChart

public AreaCharter createAreaChart(int w,
                                   int h,
                                   java.lang.String title,
                                   java.lang.String buckettitle,
                                   java.lang.String valuetitle)