|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.fill.JRFillElement
net.sf.jasperreports.engine.fill.JRFillGenericElement
public class JRFillGenericElement
A JRGenericElement used during report fill.
| Field Summary |
|---|
| Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElement |
|---|
band, conditionalStylesContainer, currentEvaluation, currentStyle, defaultStyleProvider, delayedEvaluationsMap, dynamicProperties, elementGroup, expressionEvaluator, filler, initStyle, mergedProperties, originProvider, parent, printWhenGroupChanges, staticProperties, templates |
| Fields inherited from interface net.sf.jasperreports.engine.JRElement |
|---|
MODE_OPAQUE, MODE_TRANSPARENT, POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM, POSITION_TYPE_FIX_RELATIVE_TO_TOP, POSITION_TYPE_FLOAT, STRETCH_TYPE_NO_STRETCH, STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT, STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT |
| Constructor Summary | |
|---|---|
JRFillGenericElement(JRBaseFiller filler,
JRGenericElement element,
JRFillObjectFactory factory)
|
|
JRFillGenericElement(JRFillGenericElement element,
JRFillCloneFactory factory)
|
|
| Method Summary | |
|---|---|
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. |
byte |
getEvaluationTime()
Deprecated. Replaced by getEvaluationTimeValue(). |
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)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.jasperreports.engine.JRElement |
|---|
getElementGroup, getKey, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setStretchType, setWidth, setX |
| Methods inherited from interface net.sf.jasperreports.engine.JRChild |
|---|
clone |
| Methods inherited from interface net.sf.jasperreports.engine.JRCloneable |
|---|
clone |
| Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement |
|---|
getBackcolor, getForecolor, getHeight, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode |
| Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
|---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
| Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder |
|---|
getParentProperties, getPropertiesMap, hasProperties |
| Constructor Detail |
|---|
public JRFillGenericElement(JRBaseFiller filler,
JRGenericElement element,
JRFillObjectFactory factory)
public JRFillGenericElement(JRFillGenericElement element,
JRFillCloneFactory factory)
| Method Detail |
|---|
protected void evaluate(byte evaluation)
throws JRException
evaluate in class JRFillElementJRExceptionprotected 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 JRFillElementJRException
protected 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
JRFillElement
resolveElement in class JRFillElementelement - the elementevaluation - the evaluation type
JRException
protected void rewind()
throws JRException
rewind in class JRFillElementJRExceptionpublic JRGenericElementType getGenericType()
JRGenericElement
getGenericType in interface JRGenericElementpublic JRGenericElementParameter[] getParameters()
JRGenericElement
getParameters in interface JRGenericElementpublic void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementpublic void visit(JRVisitor visitor)
visit in interface JRVisitablepublic JRFillCloneable createClone(JRFillCloneFactory factory)
JRFillCloneable
createClone in interface JRFillCloneablefactory - the clone factory to use while creating the clone
public byte getEvaluationTime()
getEvaluationTimeValue().
getEvaluationTime in interface JRGenericElementpublic 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 java.lang.String getEvaluationGroupName()
JRGenericElementthe evaluation time is
JRExpression.EVALUATION_TIME_GROUP.
getEvaluationGroupName in interface JRGenericElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||