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 JRFillExpressionEvaluator
protected JRPropertiesMap
protected JRField
protected List
<JRPropertyExpression> protected JRPropertiesMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
protected final Object
evaluateExpression
(JRExpression expression) protected void
Gets 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.boolean
Checks whether the object has any properties.void
overwriteValue
(Object newValue, byte evaluation) void
restoreValue
(byte evaluation) void
setDescription
(String description) Sets the field description.void
setOldValue
(Object oldValue) void
setPreviousOldValue
(Object previousOldValue) void
-
Field Details
-
parent
-
expressionEvaluator
-
propertyExpressions
-
staticProperties
-
mergedProperties
-
-
Constructor Details
-
JRFillField
-
-
Method Details
-
getName
Description copied from interface:JRField
Gets the field unique name. -
getDescription
Description copied from interface:JRField
Gets the field optional description.- Specified by:
getDescription
in interfaceJRField
-
setDescription
Description copied from interface:JRField
Sets the field description.- Specified by:
setDescription
in interfaceJRField
-
getValueClass
Description copied from interface:JRField
Gets the field value class. Field types cannot be primitives.- Specified by:
getValueClass
in interfaceJRField
-
getValueClassName
Description copied from interface:JRField
Gets the field value class name.- Specified by:
getValueClassName
in interfaceJRField
-
getOldValue
-
setOldValue
-
getValue
-
setValue
-
getValue
-
overwriteValue
-
restoreValue
public void restoreValue(byte evaluation) -
getPreviousOldValue
-
setPreviousOldValue
-
hasProperties
public boolean hasProperties()Description copied from interface:JRPropertiesHolder
Checks whether the object has any properties.- Specified by:
hasProperties
in interfaceJRPropertiesHolder
- Returns:
- whether the object has any properties
-
getPropertiesMap
Description copied from interface:JRPropertiesHolder
Returns this object's properties map.- Specified by:
getPropertiesMap
in interfaceJRPropertiesHolder
- Returns:
- this object's properties map
-
getParentProperties
Description copied from interface:JRPropertiesHolder
Returns the parent properties holder, whose properties are used as defaults for this object.- Specified by:
getParentProperties
in interfaceJRPropertiesHolder
- Returns:
- the parent properties holder, or
null
if no parent
-
getPropertyExpressions
Description copied from interface:JRField
Returns the list of dynamic/expression-based properties for this field.- Specified by:
getPropertyExpressions
in interfaceJRField
- Returns:
- an array containing the expression-based properties of this field
-
evaluateProperties
- Throws:
JRException
-
evaluateExpression
- Throws:
JRException
-
clone
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-