Class SubGroupBody

    • Constructor Detail

      • SubGroupBody

        public SubGroupBody()
      • SubGroupBody

        public SubGroupBody​(Group group)
    • Method Detail

      • setGroup

        public void setGroup​(Group group)
      • removeElement

        protected void removeElement​(Element element)
        Description copied from class: Section
        Removes an element from the section.
        Specified by:
        removeElement in class Section
        Parameters:
        element - the element to be section.
      • getElementCount

        public int getElementCount()
        Description copied from class: Section
        Returns the number of elements in this section.
        Specified by:
        getElementCount in class Section
        Returns:
        the number of elements of this section.
      • getElement

        public Element getElement​(int index)
        Description copied from class: Section
        Returns the element stored add the given index.
        Specified by:
        getElement in class Section
        Parameters:
        index - the element position within this section
        Returns:
        the element
      • clone

        public SubGroupBody clone()
        Clones this Element, the datasource and the private stylesheet of this Element. The clone does no longer have a parent, as the old parent would not recognize that new object anymore.
        Specified by:
        clone in interface DataTarget
        Overrides:
        clone in class Section
        Returns:
        a clone of this Element.
      • derive

        public SubGroupBody derive​(boolean preserveElementInstanceIds)
        Clones the report.
        Overrides:
        derive in class Section
        Parameters:
        preserveElementInstanceIds - defines whether this call generates new instance-ids for the derived elements. Instance-IDs are used by the report processor to recognize reoccurring elements and must not changed within the report run. Outside of the report processors new instance ids should be generated at all times to separate instances and to make them uniquely identifiable.
        Returns:
        the clone.