fr.ifremer.wao.ui.services
Class ServiceChartServlet

java.lang.Object
  extended by fr.ifremer.wao.ui.services.ServiceChartServlet
All Implemented Interfaces:
ServiceChart
Direct Known Subclasses:
ServiceChartImpl

public class ServiceChartServlet
extends Object
implements ServiceChart

Implementation of ServiceChart using Google PieChart Api syntax to create urls. The property WaoProperty.CHART_SERVER_PATH defines the path of the application used to create a PieChart.

Created: 30 juin 2010

Version:
$Id: ServiceChartServlet.java 629 2010-07-24 21:56:24Z fdesbois $
Author:
fdesbois

Constructor Summary
ServiceChartServlet()
           
 
Method Summary
protected  String getBaseUrl()
           
 String getHtmlImgTag(PieChartData data, String text, boolean thumb)
           
 String getPieChartUrl(PieChartData data, int size, boolean thumb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceChartServlet

public ServiceChartServlet()
Method Detail

getPieChartUrl

public String getPieChartUrl(PieChartData data,
                             int size,
                             boolean thumb)
Specified by:
getPieChartUrl in interface ServiceChart

getHtmlImgTag

public String getHtmlImgTag(PieChartData data,
                            String text,
                            boolean thumb)
Specified by:
getHtmlImgTag in interface ServiceChart

getBaseUrl

protected String getBaseUrl()


Copyright © 2009-2010 Ifremer. All Rights Reserved.