public class JRFillGenericElement extends JRFillElement implements JRGenericElement
JRGenericElement
used during report fill.band, conditionalStylesContainer, currentEvaluation, currentStyle, defaultStyleProvider, delayedEvaluationsMap, dynamicProperties, elementGroup, elementId, expressionEvaluator, filler, initStyle, mergedProperties, originProvider, parent, printWhenGroupChanges, staticProperties, 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() |
java.lang.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) |
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, 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
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX
clone
getBackcolor, getForecolor, getHeight, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
public JRFillGenericElement(JRBaseFiller filler, JRGenericElement element, JRFillObjectFactory factory)
public JRFillGenericElement(JRFillGenericElement element, JRFillCloneFactory factory)
protected void evaluate(byte evaluation) throws JRException
evaluate
in class JRFillElement
JRException
protected void collectDelayedEvaluations()
collectDelayedEvaluations
in class JRFillElement
protected void evaluateElement(byte evaluation) throws JRException
JRException
protected boolean prepare(int availableHeight, boolean isOverflow) throws JRException
prepare
in class JRFillElement
JRException
protected JRPrintElement fill() throws JRException
fill
in class JRFillElement
JRException
protected void copyBasicAttributes(JRGenericPrintElement printElement)
protected JRTemplateGenericElement getTemplate()
protected JRTemplateElement createElementTemplate()
createElementTemplate
in class JRFillElement
protected void copy(JRGenericPrintElement printElement)
protected void resolveElement(JRPrintElement element, byte evaluation) throws JRException
JRFillElement
resolveElement
in class JRFillElement
element
- the elementevaluation
- the evaluation typeJRException
protected void rewind() throws JRException
rewind
in class JRFillElement
JRException
public JRGenericElementType getGenericType()
JRGenericElement
getGenericType
in interface JRGenericElement
public JRGenericElementParameter[] getParameters()
JRGenericElement
getParameters
in interface JRGenericElement
public void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElement
public void visit(JRVisitor visitor)
visit
in interface JRVisitable
public JRFillCloneable createClone(JRFillCloneFactory factory)
JRFillCloneable
createClone
in interface JRFillCloneable
factory
- the clone factory to use while creating the clonepublic EvaluationTimeEnum getEvaluationTimeValue()
JRGenericElement
The 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 JRGenericElement
getEvaluationTimeValue
in class JRFillElement
public java.lang.String getEvaluationGroupName()
JRGenericElement
the evaluation time
is
EvaluationTimeEnum.GROUP
.getEvaluationGroupName
in interface JRGenericElement
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com