Class JRDesignPart

    • Field Detail

      • PROPERTY_PROPERTY_EXPRESSIONS

        public static final java.lang.String PROPERTY_PROPERTY_EXPRESSIONS
        See Also:
        Constant Field Values
      • PROPERTY_PRINT_WHEN_EXPRESSION

        public static final java.lang.String PROPERTY_PRINT_WHEN_EXPRESSION
        See Also:
        Constant Field Values
      • PROPERTY_PART_NAME_EXPRESSION

        public static final java.lang.String PROPERTY_PART_NAME_EXPRESSION
        See Also:
        Constant Field Values
      • PROPERTY_COMPONENT

        public static final java.lang.String PROPERTY_COMPONENT
        See Also:
        Constant Field Values
      • PROPERTY_COMPONENT_KEY

        public static final java.lang.String PROPERTY_COMPONENT_KEY
        See Also:
        Constant Field Values
      • PROPERTY_EVALUATION_TIME

        public static final java.lang.String PROPERTY_EVALUATION_TIME
        See Also:
        Constant Field Values
    • Constructor Detail

      • JRDesignPart

        public JRDesignPart()
        Creates an empty report part.
    • Method Detail

      • setUUID

        public void setUUID​(java.util.UUID uuid)
      • addPropertyExpression

        public void addPropertyExpression​(JRPropertyExpression propertyExpression)
        Add a dynamic/expression-based property.
        Parameters:
        propertyExpression - the property to add
        See Also:
        getPropertyExpressions()
      • removePropertyExpression

        public JRPropertyExpression removePropertyExpression​(java.lang.String name)
        Remove a property expression.
        Parameters:
        name - the name of the property to remove
        Returns:
        the removed property expression (if found)
      • setPrintWhenExpression

        public void setPrintWhenExpression​(JRExpression expression)
      • setPartNameExpression

        public void setPartNameExpression​(JRExpression expression)
      • setComponentKey

        public void setComponentKey​(ComponentKey componentKey)
        Sets the component type key that corresponds to the component instance.
        Parameters:
        componentKey - the component type key
        See Also:
        JRBasePart.getComponentKey()
      • setComponent

        public void setComponent​(PartComponent component)
        Sets the component instance wrapped by this part.
        Parameters:
        component - the component instance
        See Also:
        JRBasePart.getComponent()
      • setEvaluationTime

        public void setEvaluationTime​(PartEvaluationTime evaluationTime)