public class JRBaseGenericElement extends JRBaseElement implements JRGenericElement
JRGenericElement
that is included in compiled reports.backcolor, defaultStyleProvider, elementGroup, forecolor, height, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, key, modeValue, parentStyle, parentStyleNameReference, positionTypeValue, printWhenExpression, printWhenGroupChanges, PROPERTY_POSITION_TYPE, PROPERTY_PRINT_IN_FIRST_WHOLE_BAND, PROPERTY_PRINT_REPEATED_VALUES, PROPERTY_PRINT_WHEN_DETAIL_OVERFLOWS, PROPERTY_REMOVE_LINE_WHEN_BLANK, PROPERTY_STRETCH_TYPE, PROPERTY_WIDTH, PROPERTY_X, stretchTypeValue, width, x, y
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 and Description |
---|
JRBaseGenericElement(JRGenericElement element,
JRBaseObjectFactory factory)
Creates a generic element by copying an existing element.
|
Modifier and Type | Method and Description |
---|---|
void |
collectExpressions(JRExpressionCollector collector) |
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.
|
void |
visit(JRVisitor visitor) |
clone, clone, getBackcolor, getBaseStyle, getDefaultStyleProvider, getElementGroup, getEventSupport, getForecolor, getHeight, getKey, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getPropertyExpressions, getStretchType, getStretchTypeValue, getStyle, getStyleNameReference, getWidth, getX, getY, hasProperties, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setMode, setMode, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setStretchType, setWidth, setX
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
clone
getBackcolor, getForecolor, getHeight, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
public JRBaseGenericElement(JRGenericElement element, JRBaseObjectFactory factory)
element
- the element to copyfactory
- the object factory to be used for creating sub objectspublic 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 java.lang.String getEvaluationGroupName()
JRGenericElement
the evaluation time
is
JRExpression.EVALUATION_TIME_GROUP
.getEvaluationGroupName
in interface JRGenericElement
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
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com