Interface JRPrintElement

    • Method Detail

      • setStyle

        void setStyle​(JRStyle style)
      • getX

        int getX()
      • setUUID

        void setUUID​(UUID uuid)
      • setX

        void setX​(int x)
      • getY

        int getY()
      • setY

        void setY​(int y)
      • setWidth

        void setWidth​(int width)
      • setHeight

        void setHeight​(int height)
      • getKey

        String getKey()
        Returns a string key that can be used to identify the element.

        When filling a report, the report element key is copied to all print elements generated by a report element. Note that this means that multiple elements having the same key can appear on the same page/filled report.

        Specified by:
        getKey in interface JRCommonElement
      • accept

        <T> void accept​(PrintElementVisitor<T> visitor,
                        T arg)
        Accepts a print element visitor.

        The element calls the method that corresponds to the element type on the visitor.

        Type Parameters:
        T - the type of the argument passed to the visit operation
        Parameters:
        visitor - the visitor objects
        arg - the argument passed to the visit operation
      • getSourceElementId

        int getSourceElementId()
        Returns a numerical Id associated to the fill element that generated this print element.
        Returns:
        the Id of the fill element that generated this element
      • getPrintElementId

        int getPrintElementId()
        Returns a numerical Id that together with getSourceElementId() uniquely identifies a print element.
        Returns:
        a print Id for the element
        See Also:
        PrintElementId