fr.paris.lutece.plugins.form.business
Class GraphType

java.lang.Object
  extended by fr.paris.lutece.plugins.form.business.GraphType
Direct Known Subclasses:
GraphTypeBarChart, GraphTypePieChart

public class GraphType
extends java.lang.Object

class GraphType


Constructor Summary
GraphType()
           
 
Method Summary
 org.jfree.chart.JFreeChart createChart(java.util.List<StatisticEntrySubmit> listStatistic, java.lang.String strGraphTitle, boolean nGraphThreeDimension, boolean nGraphLabelValue)
          return the JFreeChart graph associate to the graph type
 java.lang.String getClassName()
           
 int getIdGraphType()
           
 java.lang.String getTitle()
           
 void setClassName(java.lang.String className)
          set the name of the class associate to the graph type
 void setIdGraphType(int idGraphType)
          set the id of the graph type
 void setTitle(java.lang.String title)
          set the title of the graph type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphType

public GraphType()
Method Detail

getClassName

public java.lang.String getClassName()
Returns:
the name of the class associate to the graph type

setClassName

public void setClassName(java.lang.String className)
set the name of the class associate to the graph type

Parameters:
className - the name of the class associate to the graph type

getIdGraphType

public int getIdGraphType()
Returns:
the id of the graph type

setIdGraphType

public void setIdGraphType(int idGraphType)
set the id of the graph type

Parameters:
idGraphType - the id of the graph type

getTitle

public java.lang.String getTitle()
Returns:
the title of the graph type

setTitle

public void setTitle(java.lang.String title)
set the title of the graph type

Parameters:
title - the title of the graph type

createChart

public org.jfree.chart.JFreeChart createChart(java.util.List<StatisticEntrySubmit> listStatistic,
                                              java.lang.String strGraphTitle,
                                              boolean nGraphThreeDimension,
                                              boolean nGraphLabelValue)
return the JFreeChart graph associate to the graph type

Parameters:
listStatistic - listStatistic
strGraphTitle - graph title
nGraphThreeDimension - true if the graph must be in three dimension
nGraphLabelValue - true if the labels must appear in the graph
Returns:
the JFreeChart graph associate to the graph type


Copyright © 2012 Mairie de Paris. All Rights Reserved.