Package net.sf.jasperreports.engine.base
Class JRBaseField
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseField
- All Implemented Interfaces:
Serializable,Cloneable,JRChangeEventsSupport,JRCloneable,JRField,JRPropertiesHolder
- Direct Known Subclasses:
JRDesignField
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedJRBaseField(JRField field, JRBaseObjectFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the field optional description.Returns the property change support object for this instance.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.Class<?> Gets the field value class.Gets the field value class name.booleanChecks whether the object has any properties.voidsetDescription(String description) Sets the field description.
-
Field Details
-
PROPERTY_DESCRIPTION
- See Also:
-
name
-
description
-
valueClassName
-
valueClassRealName
-
valueClass
-
propertiesMap
-
-
Constructor Details
-
JRBaseField
protected JRBaseField() -
JRBaseField
-
-
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
-
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
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-
getEventSupport
Description copied from interface:JRChangeEventsSupportReturns the property change support object for this instance.- Specified by:
getEventSupportin interfaceJRChangeEventsSupport- Returns:
- the property change support object for this instance
-