psdi.webclient.beans.startcntr

Class ResultSetGraph

  • java.lang.Object
    • psdi.webclient.beans.startcntr.ResultSetGraph


  • public class ResultSetGraph
    extends java.lang.Object
    Custom class for drawing a graph for Result Set Portlets
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String ATTRIBUTENAME 
      static java.lang.String CHARTYPE 
      static java.lang.String LANGCODE 
      static java.lang.String QUERYNAME 
    • Constructor Summary

      Constructors 
      Constructor and Description
      ResultSetGraph(java.util.List dataToPlot, java.util.Properties graphDetails, WebClientSession sessionContext) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getColor(int i)
      Returns next available color to draw the chart
      java.lang.String getTitle() 
      ChartData makeChartData()
      Returns an object that will be passed to the jsp for chart generation
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResultSetGraph

        public ResultSetGraph(java.util.List dataToPlot,
                              java.util.Properties graphDetails,
                              WebClientSession sessionContext)
    • Method Detail

      • makeChartData

        public ChartData makeChartData()
        Returns an object that will be passed to the jsp for chart generation
      • getTitle

        public java.lang.String getTitle()
                                  throws java.rmi.RemoteException,
                                         MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • getColor

        public java.lang.String getColor(int i)
        Returns next available color to draw the chart
        Parameters:
        i - index of color
        Returns:
        HEX value of color