public class JRFillGenericElement extends JRFillElement implements JRGenericElement
JRGenericElement used during report fill.band, conditionalStylesContainer, currentEvaluation, currentStyle, defaultStyleProvider, delayedEvaluationsMap, dynamicProperties, dynamicTransferProperties, elementGroup, expressionEvaluator, fillContainerContext, filler, initStyle, mergedProperties, originProvider, parent, printElementOriginator, printWhenGroupChanges, propertyExpressions, providerStyle, staticProperties, styleProviders, templates| Constructor and Description |
|---|
JRFillGenericElement(JRBaseFiller filler,
JRGenericElement element,
JRFillObjectFactory factory) |
JRFillGenericElement(JRFillGenericElement element,
JRFillCloneFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
collectDelayedEvaluations() |
void |
collectExpressions(JRExpressionCollector collector) |
protected void |
copy(JRGenericPrintElement printElement) |
protected void |
copyBasicAttributes(JRGenericPrintElement printElement) |
JRFillCloneable |
createClone(JRFillCloneFactory factory)
Creates a working clone of itself.
|
protected JRTemplateElement |
createElementTemplate() |
protected void |
evaluate(byte evaluation) |
protected void |
evaluateElement(byte evaluation) |
protected JRPrintElement |
fill() |
String |
getEvaluationGroupName()
Returns the name of the evaluation group for this element.
|
EvaluationTimeEnum |
getEvaluationTimeValue()
Returns the evaluation time of this element.
|
JRGenericElementType |
getGenericType()
Returns the generic type of this element.
|
JRGenericElementParameter[] |
getParameters()
Returns the list of parameters of this element.
|
protected JRTemplateGenericElement |
getTemplate() |
protected boolean |
prepare(int availableHeight,
boolean isOverflow) |
protected void |
resolveElement(JRPrintElement element,
byte evaluation)
Resolves an element.
|
protected void |
rewind() |
void |
visit(JRVisitor visitor) |
_moveDependantElements, _stretchElement, _stretchElementToHeight, addDependantElement, addDynamicProperty, clone, clone, clone, collectDelayedEvaluations, collectDelayedEvaluations, collectStyleDelayedEvaluations, collectStyleProviderDelayedEvaluations, delayedEvaluate, delayedEvaluationUpdatesTemplate, evaluateExpression, evaluatePrintWhenExpression, evaluateProperties, evaluateStyle, getBackcolor, getBand, getCollapsedHeightAbove, getCollapsedHeightBelow, getConditionalStylesContainer, getDefaultStyleProvider, getDependantElements, getDynamicProperties, getElementGroup, getElementOrigin, getElementTemplate, getEvaluatedProperties, getField, getFiller, getForecolor, getGroupElements, getHeight, getInitStyle, getKey, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParent, getParentProperties, getPositionTypeValue, getPrepareHeight, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getPropertyExpressions, getRelativeY, getStretchHeight, getStretchTypeValue, getStyle, getStyleNameReference, getStyleResolver, getTemplate, getUUID, getVariable, getWidth, getX, getY, hasDynamicProperties, hasDynamicProperty, hasProperties, initDelayedEvaluationPrint, initDelayedEvaluations, initStyleProviders, isAlreadyPrinted, isAutoEvaluateNow, isDelayedStyleEvaluation, isEvaluateAuto, isEvaluateNow, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isPrintWhenExpressionNull, isPrintWhenTrue, isRemoveLineWhenBlank, isReprinted, isToPrint, isValueRepeating, moveDependantElements, performDelayedEvaluation, registerTemplate, reset, resolveElement, setAlreadyPrinted, setBackcolor, setBand, setCollapsedHeightAbove, setCollapsedHeightBelow, setConditionalStylesContainer, setCurrentEvaluation, setExpressionEvaluator, setForecolor, setHeight, setMode, setOriginProvider, setPositionType, setPrepareHeight, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setPrintWhenExpressionNull, setPrintWhenTrue, setRelativeY, setRemoveLineWhenBlank, setReprinted, setShrinkable, setStretchHeight, setStretchType, setStyle, setStyleNameReference, setToPrint, setValueRepeating, setWidth, setX, setY, stretchElement, stretchElementToContainer, stretchElementToElementGroup, stretchElementToHeight, stretchHeightFinal, transferProperties, transferPropertiesequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setXclonegetBackcolor, getForecolor, getHeight, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setModegetDefaultStyleProvider, getStyle, getStyleNameReferencegetParentProperties, getPropertiesMap, hasPropertiesgetUUIDpublic JRFillGenericElement(JRBaseFiller filler, JRGenericElement element, JRFillObjectFactory factory)
public JRFillGenericElement(JRFillGenericElement element, JRFillCloneFactory factory)
protected void evaluate(byte evaluation)
throws JRException
evaluate in class JRFillElementJRExceptionprotected void collectDelayedEvaluations()
collectDelayedEvaluations in class JRFillElementprotected void evaluateElement(byte evaluation)
throws JRException
JRExceptionprotected boolean prepare(int availableHeight,
boolean isOverflow)
throws JRException
prepare in class JRFillElementJRExceptionprotected JRPrintElement fill() throws JRException
fill in class JRFillElementJRExceptionprotected void copyBasicAttributes(JRGenericPrintElement printElement)
protected JRTemplateGenericElement getTemplate()
protected JRTemplateElement createElementTemplate()
createElementTemplate in class JRFillElementprotected void copy(JRGenericPrintElement printElement)
protected void resolveElement(JRPrintElement element, byte evaluation) throws JRException
JRFillElementresolveElement in class JRFillElementelement - the elementevaluation - the evaluation typeJRExceptionprotected void rewind()
throws JRException
rewind in class JRFillElementJRExceptionpublic JRGenericElementType getGenericType()
JRGenericElementgetGenericType in interface JRGenericElementpublic JRGenericElementParameter[] getParameters()
JRGenericElementgetParameters in interface JRGenericElementpublic void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementpublic void visit(JRVisitor visitor)
visit in interface JRVisitablepublic JRFillCloneable createClone(JRFillCloneFactory factory)
JRFillCloneablecreateClone in interface JRFillCloneablefactory - the clone factory to use while creating the clonepublic EvaluationTimeEnum getEvaluationTimeValue()
JRGenericElementThe evaluation time determines the moment at which parameter expressions are evaluated for this element. All parameters will be evaluated at the same moment.
getEvaluationTimeValue in interface JRGenericElementgetEvaluationTimeValue in class JRFillElementpublic String getEvaluationGroupName()
JRGenericElementthe evaluation time is
EvaluationTimeEnum.GROUP.getEvaluationGroupName in interface JRGenericElementCopyright © 2017. All rights reserved.