org.romaframework.module.chart.jfreechart.domain
Class MeterChartRendererImpl

java.lang.Object
  extended by org.romaframework.module.chart.jfreechart.domain.MeterChartRendererImpl
All Implemented Interfaces:
ChartRenderer

public class MeterChartRendererImpl
extends java.lang.Object
implements ChartRenderer


Constructor Summary
MeterChartRendererImpl()
           
 
Method Summary
 void clear()
          cleans the data set
 RenderOptions getOptions()
           
 java.util.List<MeterChartRange> getRanges()
           
 java.lang.String[] getSupportedChartTypes()
          returns the supported chart types as strings
 java.lang.Double getValue()
           
 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)
           
 void setRanges(java.util.List<MeterChartRange> ranges)
           
 void setValue(java.lang.Double value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeterChartRendererImpl

public MeterChartRendererImpl()
Method Detail

clear

public void clear()
Description copied from interface: ChartRenderer
cleans the data set

Specified by:
clear in interface ChartRenderer

render

public void render(RenderOptions options,
                   java.io.OutputStream outputStream)
Description copied from interface: ChartRenderer
renders the chart on an output stream

Specified by:
render in interface ChartRenderer
Parameters:
options - the options for chart rendering
outputStream - the output stream where this method has to write the chart

getSupportedChartTypes

public java.lang.String[] getSupportedChartTypes()
Description copied from interface: ChartRenderer
returns the supported chart types as strings

Specified by:
getSupportedChartTypes in interface ChartRenderer
Returns:

setOptions

public void setOptions(RenderOptions options)
Specified by:
setOptions in interface ChartRenderer

getOptions

public RenderOptions getOptions()
Specified by:
getOptions in interface ChartRenderer

render

public void render(java.io.OutputStream outputStream)
            throws java.io.IOException
Description copied from interface: ChartRenderer
renders the chart on an output stream

Specified by:
render in interface ChartRenderer
Parameters:
outputStream - the output stream where this method has to write the chart
Throws:
java.io.IOException

getRanges

public java.util.List<MeterChartRange> getRanges()

setRanges

public void setRanges(java.util.List<MeterChartRange> ranges)

getValue

public java.lang.Double getValue()

setValue

public void setValue(java.lang.Double value)