org.romaframework.module.chart.jfreechart.domain
Interface ChartRenderer

All Known Implementing Classes:
ChartRendererImpl, MeterChartRendererImpl

public interface ChartRenderer

this interface represents the ability of an object to be rendered as a chart

Author:
luigi

Method Summary
 void clear()
          cleans the data set
 RenderOptions getOptions()
           
 java.lang.String[] getSupportedChartTypes()
          returns the supported chart types as strings
 void render(java.io.OutputStream outputStream)
          renders the chart on an output stream
 void render(RenderOptions options, java.io.OutputStream outputStream)
          renders the chart on an output stream
 void setOptions(RenderOptions options)
           
 

Method Detail

render

void render(RenderOptions options,
            java.io.OutputStream outputStream)
            throws java.io.IOException
renders the chart on an output stream

Parameters:
options - the options for chart rendering
outputStream - the output stream where this method has to write the chart
Throws:
java.io.IOException

render

void render(java.io.OutputStream outputStream)
            throws java.io.IOException
renders the chart on an output stream

Parameters:
outputStream - the output stream where this method has to write the chart
Throws:
java.io.IOException

clear

void clear()
cleans the data set


getSupportedChartTypes

java.lang.String[] getSupportedChartTypes()
returns the supported chart types as strings

Returns:

setOptions

void setOptions(RenderOptions options)

getOptions

RenderOptions getOptions()