ecar.servlet.grafico
Class GraficoGanttPontosCriticos

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by ecar.servlet.grafico.GraficoGanttPontosCriticos
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class GraficoGanttPontosCriticos
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Nested Class Summary
(package private) static class GraficoGanttPontosCriticos.LabelGenerator
           
 
Field Summary
private  org.apache.log4j.Logger logger
           
 
Constructor Summary
GraficoGanttPontosCriticos()
          Constructor of the object.
 
Method Summary
private static org.jfree.data.category.IntervalCategoryDataset criarDataSet(java.util.List pontosCriticosSolucionados, java.util.Date dataBase)
           
private static org.jfree.data.category.IntervalCategoryDataset criarDataSetSolucionadoAteDataBase(java.util.List pontosCriticosSolucionados, java.util.Date dataBase)
           
private static java.util.Date date(int year, int month, int day)
           
private  org.jfree.chart.JFreeChart gerarGrafico(org.jfree.data.category.IntervalCategoryDataset dataSet, java.lang.String labelPontosCriticos, int numeroPontosCriticos)
           
 void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Gera Grafico de Previsao dos Indicadores de Resultado.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private org.apache.log4j.Logger logger
Constructor Detail

GraficoGanttPontosCriticos

public GraficoGanttPontosCriticos()
Constructor of the object.

Method Detail

service

public final void service(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
                   throws javax.servlet.ServletException,
                          java.io.IOException
Gera Grafico de Previsao dos Indicadores de Resultado.

Overrides:
service in class javax.servlet.http.HttpServlet
Parameters:
HttpServletRequest - request
HttpServletResponse - response
Throws:
javax.servlet.ServletException
java.io.IOException
Since:
N/C

criarDataSet

private static org.jfree.data.category.IntervalCategoryDataset criarDataSet(java.util.List pontosCriticosSolucionados,
                                                                            java.util.Date dataBase)

criarDataSetSolucionadoAteDataBase

private static org.jfree.data.category.IntervalCategoryDataset criarDataSetSolucionadoAteDataBase(java.util.List pontosCriticosSolucionados,
                                                                                                  java.util.Date dataBase)

date

private static java.util.Date date(int year,
                                   int month,
                                   int day)

gerarGrafico

private org.jfree.chart.JFreeChart gerarGrafico(org.jfree.data.category.IntervalCategoryDataset dataSet,
                                                java.lang.String labelPontosCriticos,
                                                int numeroPontosCriticos)


Copyright © 2007, PRODEPA - Processamento de Dados do Pará