Class JRDesignPart
java.lang.Object
net.sf.jasperreports.engine.base.JRBasePart
net.sf.jasperreports.engine.design.JRDesignPart
- All Implemented Interfaces:
Serializable,Cloneable,JRChangeEventsSupport,JRCloneable,JRIdentifiable,JRPart,JRPropertiesHolder
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class net.sf.jasperreports.engine.base.JRBasePart
component, evaluationTime, partNameExpression, printWhenExpression, uuid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPropertyExpression(JRPropertyExpression propertyExpression) Add a dynamic/expression-based property.clone()Returns the list of dynamic/expression-based properties for this report part.Returns the list of property expressions.Remove a property expression.voidremovePropertyExpression(JRPropertyExpression propertyExpression) Remove a property expression.voidsetComponent(PartComponent component) Sets the component instance wrapped by this part.voidsetEvaluationTime(PartEvaluationTime evaluationTime) voidsetPartNameExpression(JRExpression expression) voidsetPrintWhenExpression(JRExpression expression) voidMethods inherited from class net.sf.jasperreports.engine.base.JRBasePart
getComponent, getEvaluationTime, getEventSupport, getParentProperties, getPartNameExpression, getPrintWhenExpression, getPropertiesMap, getUUID, hasProperties
-
Field Details
-
PROPERTY_PROPERTY_EXPRESSIONS
- See Also:
-
PROPERTY_PRINT_WHEN_EXPRESSION
- See Also:
-
PROPERTY_PART_NAME_EXPRESSION
- See Also:
-
PROPERTY_COMPONENT
- See Also:
-
PROPERTY_EVALUATION_TIME
- See Also:
-
-
Constructor Details
-
JRDesignPart
public JRDesignPart()Creates an empty report part.
-
-
Method Details
-
setUUID
-
addPropertyExpression
Add a dynamic/expression-based property.- Parameters:
propertyExpression- the property to add- See Also:
-
removePropertyExpression
Remove a property expression.- Parameters:
propertyExpression- the property expression to remove- See Also:
-
removePropertyExpression
Remove a property expression.- Parameters:
name- the name of the property to remove- Returns:
- the removed property expression (if found)
-
getPropertyExpressionsList
Returns the list of property expressions.- Returns:
- the list of property expressions (
JRPropertyExpressioninstances) - See Also:
-
getPropertyExpressions
Description copied from interface:JRPartReturns the list of dynamic/expression-based properties for this report part.- Specified by:
getPropertyExpressionsin interfaceJRPart- Overrides:
getPropertyExpressionsin classJRBasePart- Returns:
- an array containing the expression-based properties of this report part
-
setPrintWhenExpression
-
setPartNameExpression
-
setComponent
Sets the component instance wrapped by this part.- Parameters:
component- the component instance- See Also:
-
setEvaluationTime
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classJRBasePart
-