net.sf.jasperreports.engine.fill
Class JRFillGenericElement
java.lang.Object
net.sf.jasperreports.engine.fill.JRFillElement
net.sf.jasperreports.engine.fill.JRFillGenericElement
- All Implemented Interfaces:
- Cloneable, JRFillCloneable, JRChild, JRCloneable, JRCommonElement, JRElement, JRGenericElement, JRIdentifiable, JRPropertiesHolder, JRStyleContainer, JRStyleSetter, JRVisitable
public class JRFillGenericElement
- extends JRFillElement
- implements JRGenericElement
A JRGenericElement used during report fill.
- Version:
- $Id: JRFillGenericElement.java 4648 2011-10-10 12:50:53Z lucianc $
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
| Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElement |
band, conditionalStylesContainer, currentEvaluation, currentStyle, defaultStyleProvider, delayedEvaluationsMap, dynamicProperties, elementGroup, elementId, expressionEvaluator, filler, initStyle, mergedProperties, originProvider, parent, printWhenGroupChanges, staticProperties, templates |
| Methods inherited from class net.sf.jasperreports.engine.fill.JRFillElement |
addDependantElement, clone, clone, collectDelayedEvaluations, collectDelayedEvaluations, collectStyleDelayedEvaluations, delayedEvaluate, evaluateExpression, evaluatePrintWhenExpression, evaluateProperties, getBackcolor, getBand, getDefaultStyleProvider, getDependantElements, getElementGroup, getElementOrigin, getElementTemplate, getEvaluatedProperties, getField, getForecolor, getGroupElements, getHeight, getKey, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getPropertyExpressions, getRelativeY, getStretchHeight, getStretchTypeValue, getStyle, getStyleNameReference, getTemplate, getUUID, getVariable, getWidth, getX, getY, hasProperties, initDelayedEvaluationPrint, initDelayedEvaluations, isAlreadyPrinted, isAutoEvaluateNow, isDelayedStyleEvaluation, isEvaluateAuto, isEvaluateNow, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isPrintWhenExpressionNull, isPrintWhenTrue, isRemoveLineWhenBlank, isReprinted, isToPrint, isValueRepeating, moveDependantElements, performDelayedEvaluation, registerTemplate, reset, resolveElement, setAlreadyPrinted, setBackcolor, setBand, setConditionalStylesContainer, setCurrentEvaluation, setForecolor, setHeight, setMode, setOriginProvider, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setPrintWhenExpressionNull, setPrintWhenTrue, setRelativeY, setRemoveLineWhenBlank, setReprinted, setShrinkable, setStretchHeight, setStretchType, setStyle, setStyleNameReference, setToPrint, setValueRepeating, setWidth, setX, setY, stretchElement, stretchHeightFinal, transferProperties, transferProperties |
| Methods inherited from interface net.sf.jasperreports.engine.JRElement |
getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
| Methods inherited from interface net.sf.jasperreports.engine.JRChild |
clone |
| Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement |
getBackcolor, getForecolor, getHeight, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode |
JRFillGenericElement
public JRFillGenericElement(JRBaseFiller filler,
JRGenericElement element,
JRFillObjectFactory factory)
JRFillGenericElement
public JRFillGenericElement(JRFillGenericElement element,
JRFillCloneFactory factory)
evaluate
protected void evaluate(byte evaluation)
throws JRException
- Specified by:
evaluate in class JRFillElement
- Throws:
JRException
collectDelayedEvaluations
protected void collectDelayedEvaluations()
- Overrides:
collectDelayedEvaluations in class JRFillElement
evaluateElement
protected void evaluateElement(byte evaluation)
throws JRException
- Throws:
JRException
prepare
protected boolean prepare(int availableHeight,
boolean isOverflow)
throws JRException
- Overrides:
prepare in class JRFillElement
- Throws:
JRException
fill
protected JRPrintElement fill()
throws JRException
- Specified by:
fill in class JRFillElement
- Throws:
JRException
copyBasicAttributes
protected void copyBasicAttributes(JRGenericPrintElement printElement)
getTemplate
protected JRTemplateGenericElement getTemplate()
createElementTemplate
protected JRTemplateElement createElementTemplate()
- Specified by:
createElementTemplate in class JRFillElement
copy
protected void copy(JRGenericPrintElement printElement)
resolveElement
protected void resolveElement(JRPrintElement element,
byte evaluation)
throws JRException
- Description copied from class:
JRFillElement
- Resolves an element.
- Specified by:
resolveElement in class JRFillElement
- Parameters:
element - the elementevaluation - the evaluation type
- Throws:
JRException
rewind
protected void rewind()
throws JRException
- Specified by:
rewind in class JRFillElement
- Throws:
JRException
getGenericType
public JRGenericElementType getGenericType()
- Description copied from interface:
JRGenericElement
- Returns the generic type of this element.
This type will be propagated to the generated print element, and used to
resolve export handler for the print element.
- Specified by:
getGenericType in interface JRGenericElement
- Returns:
- the generic type of this element
getParameters
public JRGenericElementParameter[] getParameters()
- Description copied from interface:
JRGenericElement
- Returns the list of parameters of this element.
- Specified by:
getParameters in interface JRGenericElement
- Returns:
- the list of parameters
collectExpressions
public void collectExpressions(JRExpressionCollector collector)
- Specified by:
collectExpressions in interface JRElement
visit
public void visit(JRVisitor visitor)
- Specified by:
visit in interface JRVisitable
createClone
public JRFillCloneable createClone(JRFillCloneFactory factory)
- Description copied from interface:
JRFillCloneable
- Creates a working clone of itself.
- Specified by:
createClone in interface JRFillCloneable
- Parameters:
factory - the clone factory to use while creating the clone
- Returns:
- a working clone of itself
getEvaluationTimeValue
public EvaluationTimeEnum getEvaluationTimeValue()
- Description copied from interface:
JRGenericElement
- Returns the evaluation time of this element.
The evaluation time determines the moment at which parameter expressions
are evaluated for this element. All parameters will be evaluated at the
same moment.
- Specified by:
getEvaluationTimeValue in interface JRGenericElement- Overrides:
getEvaluationTimeValue in class JRFillElement
- Returns:
- the evaluation time of this element
getEvaluationGroupName
public String getEvaluationGroupName()
- Description copied from interface:
JRGenericElement
- Returns the name of the evaluation group for this element.
The evaluation group is only present when
the evaluation time is
EvaluationTimeEnum.GROUP.
- Specified by:
getEvaluationGroupName in interface JRGenericElement
- Returns:
- the name of the evaluation group for this element
Copyright © 2012. All Rights Reserved.