Package net.sf.jasperreports.engine.base
Class JRBasePart
java.lang.Object
net.sf.jasperreports.engine.base.JRBasePart
- All Implemented Interfaces:
Serializable,Cloneable,JRChangeEventsSupport,JRCloneable,JRIdentifiable,JRPart,JRPropertiesHolder
- Direct Known Subclasses:
JRDesignPart
A read-only
JRPart implementation which is included
in compiled reports.- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PartComponentprotected PartEvaluationTimeprotected JRExpressionprotected JRExpressionprotected UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns the component instance wrapped by this part.Determines the moment at which this part is to be evaluated.Returns the property change support object for this instance.Returns the parent properties holder, whose properties are used as defaults for this object.Returns the boolean expression that specifies if the part will be displayed.Returns this object's properties map.Returns the list of dynamic/expression-based properties for this report part.getUUID()booleanChecks whether the object has any properties.
-
Field Details
-
uuid
-
printWhenExpression
-
partNameExpression
-
component
-
evaluationTime
-
-
Constructor Details
-
JRBasePart
protected JRBasePart() -
JRBasePart
-
-
Method Details
-
getUUID
- Specified by:
getUUIDin interfaceJRIdentifiable
-
getComponent
Description copied from interface:JRPartReturns the component instance wrapped by this part.- Specified by:
getComponentin interfaceJRPart- Returns:
- the component instance
-
getEvaluationTime
Description copied from interface:JRPartDetermines the moment at which this part is to be evaluated.- Specified by:
getEvaluationTimein interfaceJRPart- Returns:
- the evaluation time of this part
-
getPrintWhenExpression
Description copied from interface:JRPartReturns the boolean expression that specifies if the part will be displayed.- Specified by:
getPrintWhenExpressionin interfaceJRPart
-
getPartNameExpression
- Specified by:
getPartNameExpressionin interfaceJRPart
-
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:JRPartReturns the list of dynamic/expression-based properties for this report part.- Specified by:
getPropertyExpressionsin interfaceJRPart- Returns:
- an array containing the expression-based properties of this report part
-
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
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-