|
||||||||||
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 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 type
JRException
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 clone
public byte getEvaluationTime()
getEvaluationTimeValue()
.
getEvaluationTime
in interface JRGenericElement
public 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
JRExpression.EVALUATION_TIME_GROUP
.
getEvaluationGroupName
in interface JRGenericElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |