com.trackstudio.app.report.distribrep
Class DistrScriptlet

java.lang.Object
  extended by net.sf.jasperreports.engine.JRAbstractScriptlet
      extended by net.sf.jasperreports.engine.JRDefaultScriptlet
          extended by com.trackstudio.app.report.distribrep.DistrScriptlet
Direct Known Subclasses:
UserWorkloadScriptlet

public class DistrScriptlet
extends net.sf.jasperreports.engine.JRDefaultScriptlet


Field Summary
protected  java.util.HashMap chartData
           
protected  java.util.List col
           
protected  java.lang.Object curXvalue
           
protected  java.text.DecimalFormat df
           
protected  java.lang.String filter_id
           
protected  TaskFValue fv
           
protected  java.lang.String report_id
           
protected  java.util.ArrayList rows
           
protected  SessionContext sc
           
protected  java.util.HashMap summary
           
protected  java.util.HashMap summarynCalls
           
protected  java.util.HashMap ycurrent
           
 
Fields inherited from class net.sf.jasperreports.engine.JRAbstractScriptlet
fieldsMap, groups, parametersMap, variablesMap
 
Constructor Summary
DistrScriptlet()
           
 
Method Summary
protected  void AddItemToSummary(java.lang.Object key, java.lang.Object value)
           
 void beforeDetailEval()
           
protected  void CreateChart()
           
protected  void fillRows()
           
protected  java.util.HashMap formatValues(java.lang.String name)
           
protected  boolean getFormatHours()
           
protected  java.lang.Object getFunction(java.lang.Object v, java.lang.Object o, java.lang.String name, int ncalls)
           
protected  java.lang.String getHString(java.lang.Double v)
           
protected  java.lang.Object getValue(java.lang.String name, SecuredTaskBean tci)
           
protected  void getValues()
           
protected  void setValue(java.util.Map x, java.util.Map y, java.lang.Object v, int ncall)
           
 
Methods inherited from class net.sf.jasperreports.engine.JRDefaultScriptlet
afterColumnInit, afterDetailEval, afterGroupInit, afterPageInit, afterReportInit, beforeColumnInit, beforeGroupInit, beforePageInit, beforeReportInit
 
Methods inherited from class net.sf.jasperreports.engine.JRAbstractScriptlet
callAfterColumnInit, callAfterDetailEval, callAfterGroupInit, callAfterPageInit, callAfterReportInit, callBeforeColumnInit, callBeforeDetailEval, callBeforeGroupInit, callBeforePageInit, callBeforeReportInit, getFieldValue, getParameterValue, getVariableValue, setData, setVariableValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rows

protected java.util.ArrayList rows

col

protected java.util.List col

report_id

protected java.lang.String report_id

filter_id

protected java.lang.String filter_id

fv

protected TaskFValue fv

sc

protected SessionContext sc

ycurrent

protected java.util.HashMap ycurrent

summary

protected java.util.HashMap summary

summarynCalls

protected java.util.HashMap summarynCalls

df

protected java.text.DecimalFormat df

curXvalue

protected java.lang.Object curXvalue

chartData

protected java.util.HashMap chartData
Constructor Detail

DistrScriptlet

public DistrScriptlet()
Method Detail

beforeDetailEval

public void beforeDetailEval()
                      throws net.sf.jasperreports.engine.JRScriptletException
Overrides:
beforeDetailEval in class net.sf.jasperreports.engine.JRDefaultScriptlet
Throws:
net.sf.jasperreports.engine.JRScriptletException

CreateChart

protected void CreateChart()
                    throws net.sf.jasperreports.engine.JRScriptletException
Throws:
net.sf.jasperreports.engine.JRScriptletException

getFormatHours

protected boolean getFormatHours()
                          throws net.sf.jasperreports.engine.JRScriptletException
Throws:
net.sf.jasperreports.engine.JRScriptletException

AddItemToSummary

protected void AddItemToSummary(java.lang.Object key,
                                java.lang.Object value)
                         throws java.lang.Exception
Throws:
java.lang.Exception

fillRows

protected void fillRows()
                 throws java.lang.Exception
Throws:
java.lang.Exception

getValues

protected void getValues()
                  throws java.lang.Exception
Throws:
java.lang.Exception

setValue

protected void setValue(java.util.Map x,
                        java.util.Map y,
                        java.lang.Object v,
                        int ncall)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getValue

protected java.lang.Object getValue(java.lang.String name,
                                    SecuredTaskBean tci)
                             throws GranException
Throws:
GranException

getFunction

protected java.lang.Object getFunction(java.lang.Object v,
                                       java.lang.Object o,
                                       java.lang.String name,
                                       int ncalls)

formatValues

protected java.util.HashMap formatValues(java.lang.String name)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

getHString

protected java.lang.String getHString(java.lang.Double v)
                               throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2002-2008 TrackStudio, Ltd. All Rights Reserved.