com.raritantechnologies.utils.graphics
Class GIFChartServer

java.lang.Object
  extended bycom.raritantechnologies.utils.graphics.GIFChartServer
All Implemented Interfaces:
IChartServer, IConfigurable
Direct Known Subclasses:
PieChartRenderer

public class GIFChartServer
extends java.lang.Object
implements IChartServer

Renders a GIF via the IChartServer interface.


Developed by Raritan Technologies .

Author:
Ted Sullivan

Field Summary
protected  java.awt.image.BufferedImage bi
           
 
Constructor Summary
GIFChartServer()
           
GIFChartServer(java.awt.image.BufferedImage bi)
           
 
Method Summary
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void initialize(ServletContext sContext, HttpServletRequest pReq, HttpServletResponse pRes)
           
 void renderChart(HttpServletResponse pRes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bi

protected java.awt.image.BufferedImage bi
Constructor Detail

GIFChartServer

public GIFChartServer()

GIFChartServer

public GIFChartServer(java.awt.image.BufferedImage bi)
Method Detail

renderChart

public void renderChart(HttpServletResponse pRes)
Specified by:
renderChart in interface IChartServer

initialize

public void initialize(ServletContext sContext,
                       HttpServletRequest pReq,
                       HttpServletResponse pRes)
Specified by:
initialize in interface IChartServer

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IConfigurable