gran.app.report.distribrep
Class DistrScriptlet

java.lang.Object
  extended bynet.sf.jasperreports.engine.JRAbstractScriptlet
      extended bynet.sf.jasperreports.engine.JRDefaultScriptlet
          extended bygran.app.report.distribrep.DistrScriptlet
Direct Known Subclasses:
UserWorkloadScriptlet

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


Field Summary
protected  java.util.List col
           
protected  java.text.DecimalFormat df
           
protected  java.lang.String filter_id
           
protected  boolean formatHours
           
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 ycurrent
           
 
Fields inherited from class net.sf.jasperreports.engine.JRAbstractScriptlet
fieldsMap, groups, parametersMap, variablesMap
 
Constructor Summary
DistrScriptlet()
           
 
Method Summary
 void beforeDetailEval()
           
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)
           
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)
           
 
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

df

protected java.text.DecimalFormat df

formatHours

protected boolean formatHours
Constructor Detail

DistrScriptlet

public DistrScriptlet()
Method Detail

beforeDetailEval

public void beforeDetailEval()
                      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

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)
                 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)

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-2005 TrackStudio, Ltd. All Rights Reserved.