dori.jasper.engine.fill
Class JRCalculator

java.lang.Object
  extended bydori.jasper.engine.fill.JRCalculator
Direct Known Subclasses:
JRBshCalculator

public abstract class JRCalculator
extends java.lang.Object


Field Summary
protected  java.util.Map fldsm
           
protected  JRFillGroup[] groups
           
protected  java.util.Map parsm
           
protected  JRFillVariable[] variables
           
protected  java.util.Map varsm
           
 
Constructor Summary
protected JRCalculator()
           
 
Method Summary
protected  void calculateVariables()
           
protected  java.lang.Number convertToVariableClass(JRFillVariable variable, java.lang.Number newValue)
           
protected abstract  void customizedInit(java.util.Map parametersMap, java.util.Map fieldsMap, java.util.Map variablesMap)
           
protected  void estimateGroupRuptures()
           
protected  void estimateVariables()
           
protected abstract  java.lang.Object evaluate(int id)
           
protected  java.lang.Object evaluate(JRExpression expression)
           
protected  java.lang.Object evaluate(JRExpression expression, byte evaluationType)
           
protected abstract  java.lang.Object evaluateEstimated(int id)
           
protected  java.lang.Object evaluateEstimated(JRExpression expression)
           
protected abstract  java.lang.Object evaluateOld(int id)
           
protected  java.lang.Object evaluateOld(JRExpression expression)
           
protected  JRFillVariable getColumnNumber()
           
protected  JRFillVariable getPageNumber()
           
protected  void init(java.util.Map parametersMap, java.util.Map fieldsMap, java.util.Map variablesMap, JRFillVariable[] vars, JRFillGroup[] grps)
           
protected  void initializeVariables(byte resetType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parsm

protected java.util.Map parsm

fldsm

protected java.util.Map fldsm

varsm

protected java.util.Map varsm

variables

protected JRFillVariable[] variables

groups

protected JRFillGroup[] groups
Constructor Detail

JRCalculator

protected JRCalculator()
Method Detail

init

protected void init(java.util.Map parametersMap,
                    java.util.Map fieldsMap,
                    java.util.Map variablesMap,
                    JRFillVariable[] vars,
                    JRFillGroup[] grps)
             throws JRException
Throws:
JRException

customizedInit

protected abstract void customizedInit(java.util.Map parametersMap,
                                       java.util.Map fieldsMap,
                                       java.util.Map variablesMap)
                                throws JRException
Throws:
JRException

getPageNumber

protected JRFillVariable getPageNumber()

getColumnNumber

protected JRFillVariable getColumnNumber()

calculateVariables

protected void calculateVariables()
                           throws JRException
Throws:
JRException

estimateVariables

protected void estimateVariables()
                          throws JRException
Throws:
JRException

estimateGroupRuptures

protected void estimateGroupRuptures()
                              throws JRException
Throws:
JRException

convertToVariableClass

protected java.lang.Number convertToVariableClass(JRFillVariable variable,
                                                  java.lang.Number newValue)
                                           throws JRException
Throws:
JRException

initializeVariables

protected void initializeVariables(byte resetType)
                            throws JRException
Throws:
JRException

evaluate

protected java.lang.Object evaluate(JRExpression expression,
                                    byte evaluationType)
                             throws JRException
Throws:
JRException

evaluateOld

protected java.lang.Object evaluateOld(JRExpression expression)
                                throws JRExpressionEvalException
Throws:
JRExpressionEvalException

evaluateEstimated

protected java.lang.Object evaluateEstimated(JRExpression expression)
                                      throws JRExpressionEvalException
Throws:
JRExpressionEvalException

evaluate

protected java.lang.Object evaluate(JRExpression expression)
                             throws JRExpressionEvalException
Throws:
JRExpressionEvalException

evaluateOld

protected abstract java.lang.Object evaluateOld(int id)
                                         throws java.lang.Throwable
Throws:
java.lang.Throwable

evaluateEstimated

protected abstract java.lang.Object evaluateEstimated(int id)
                                               throws java.lang.Throwable
Throws:
java.lang.Throwable

evaluate

protected abstract java.lang.Object evaluate(int id)
                                      throws java.lang.Throwable
Throws:
java.lang.Throwable


Copyright © 2001-2004 Teodor Danciu. All Rights Reserved.