Package net.sf.jasperreports.engine.fill
Class JRFillField
java.lang.Object
net.sf.jasperreports.engine.fill.JRFillField
- All Implemented Interfaces:
Cloneable,JRCloneable,JRField,JRPropertiesHolder
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JRFillExpressionEvaluatorprotected JRPropertiesMapprotected JRFieldprotected List<JRPropertyExpression> protected JRPropertiesMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()protected final ObjectevaluateExpression(JRExpression expression) protected voidGets the field optional description.getName()Gets the field unique name.Returns the parent properties holder, whose properties are used as defaults for this object.Returns this object's properties map.Returns the list of dynamic/expression-based properties for this field.getValue()getValue(byte evaluation) Class<?> Gets the field value class.Gets the field value class name.booleanChecks whether the object has any properties.voidoverwriteValue(Object newValue, byte evaluation) voidrestoreValue(byte evaluation) voidsetDescription(String description) Sets the field description.voidsetOldValue(Object oldValue) voidsetPreviousOldValue(Object previousOldValue) void
-
Field Details
-
parent
-
expressionEvaluator
-
propertyExpressions
-
staticProperties
-
mergedProperties
-
-
Constructor Details
-
JRFillField
-
-
Method Details
-
getName
Description copied from interface:JRFieldGets the field unique name. -
getDescription
Description copied from interface:JRFieldGets the field optional description.- Specified by:
getDescriptionin interfaceJRField
-
setDescription
Description copied from interface:JRFieldSets the field description.- Specified by:
setDescriptionin interfaceJRField
-
getValueClass
Description copied from interface:JRFieldGets the field value class. Field types cannot be primitives.- Specified by:
getValueClassin interfaceJRField
-
getValueClassName
Description copied from interface:JRFieldGets the field value class name.- Specified by:
getValueClassNamein interfaceJRField
-
getOldValue
-
setOldValue
-
getValue
-
setValue
-
getValue
-
overwriteValue
-
restoreValue
public void restoreValue(byte evaluation) -
getPreviousOldValue
-
setPreviousOldValue
-
hasProperties
public boolean hasProperties()Description copied from interface:JRPropertiesHolderChecks whether the object has any properties.- Specified by:
hasPropertiesin interfaceJRPropertiesHolder- Returns:
- whether the object has any properties
-
getPropertiesMap
Description copied from interface:JRPropertiesHolderReturns this object's properties map.- Specified by:
getPropertiesMapin interfaceJRPropertiesHolder- Returns:
- this object's properties map
-
getParentProperties
Description copied from interface:JRPropertiesHolderReturns the parent properties holder, whose properties are used as defaults for this object.- Specified by:
getParentPropertiesin interfaceJRPropertiesHolder- Returns:
- the parent properties holder, or
nullif no parent
-
getPropertyExpressions
Description copied from interface:JRFieldReturns the list of dynamic/expression-based properties for this field.- Specified by:
getPropertyExpressionsin interfaceJRField- Returns:
- an array containing the expression-based properties of this field
-
evaluateProperties
- Throws:
JRException
-
evaluateExpression
- Throws:
JRException
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-