public interface JRGenericElement extends JRElement
generic print element
in the generated
report.
Such elements can be used in simple scenarios that involve generating
generic print elements. In more complex scenarios,
component elements
that produce generic
print elements can be implemented.
Generic report elements are comprised of a list of parameters that are to be included in the generated print element. At fill time, expressions associated with the parameters are evaluated and the result is preserved in the print element. Generic report elements cannot stretch at fill time, they will always produce a print element that has the same size as the design element.
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
Modifier and Type | Method and Description |
---|---|
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.
|
collectExpressions, 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
visit
clone
getBackcolor, getForecolor, getHeight, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
JRGenericElementType getGenericType()
JRGenericElementParameter[] getParameters()
byte getEvaluationTime()
getEvaluationTimeValue()
.EvaluationTimeEnum getEvaluationTimeValue()
The evaluation time determines the moment at which parameter expressions are evaluated for this element. All parameters will be evaluated at the same moment.
java.lang.String getEvaluationGroupName()
the evaluation time
is
JRExpression.EVALUATION_TIME_GROUP
.© 2001-2010 Jaspersoft Corporation www.jaspersoft.com