public interface JRGenericElement extends JRElement
generic print element
in the generated
report.
JRGenericPrintElement
at fill time.getGenericType()
) is a key that identifies a class/type
of generic elements which are to be handled uniformly. Such a type is composed of a namespace
(usually an URI associated with an organization or a product) and a name.
The generic type is the key used to resolve an export handler for a generic element
present in a generated report. Handlers are registered for a specific generic element
types, and when a generic element is exported the extensions registry is queried for a
generic element handler that has been registered for the element type.
GenericElementHtmlHandler
interface
(which extends the
GenericElementHandler
interface that is
common to all export handlers).
Handler bundles are deployed as JasperReports extensions, using
GenericElementHandlerBundle
as
extension type. JasperReports includes
DefaultElementHandlerBundle
, a
convenience handler bundle implementation that wraps a map of handlers per element
type and exporter type.JRGenericPrintElement
,
GenericElementHandler
,
GenericElementHandlerBundle
Modifier and Type | Method and Description |
---|---|
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.
|
clone, collectExpressions, getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX
visit
clone
getBackcolor, getForecolor, getHeight, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
getUUID
JRGenericElementType getGenericType()
JRGenericElementParameter[] getParameters()
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.
String getEvaluationGroupName()
the evaluation time
is
EvaluationTimeEnum.GROUP
.Copyright © 2017. All rights reserved.