Class CrosstabOtherGroup

    • Constructor Detail

      • CrosstabOtherGroup

        public CrosstabOtherGroup()
      • CrosstabOtherGroup

        public CrosstabOtherGroup​(GroupBody body)
    • Method Detail

      • getHeader

        public GroupHeader getHeader()
        Returns the group header.

        The group header is a report band that contains elements that should be printed at the start of a group.

        Returns:
        the group header.
      • setHeader

        public void setHeader​(GroupHeader header)
        Sets the header for the group.
        Parameters:
        header - the header (null not permitted).
        Throws:
        NullPointerException - if the given header is null
      • getFooter

        public GroupFooter getFooter()
        Returns the group footer.
        Returns:
        the footer.
      • setFooter

        public void setFooter​(GroupFooter footer)
        Sets the footer for the group.
        Parameters:
        footer - the footer (null not permitted).
        Throws:
        NullPointerException - if the given footer is null.
      • derive

        public CrosstabOtherGroup derive​(boolean preserveElementInstanceIds)
        Description copied from class: Element
        Creates a deep copy of this element and regenerates all instance-ids.
        Overrides:
        derive in class Group
        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 copy of the element.
      • removeElement

        protected void removeElement​(Element element)
        Description copied from class: Section
        Removes an element from the section.
        Overrides:
        removeElement in class Group
        Parameters:
        element - the element to be 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
      • 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.
      • getField

        public String getField()
      • setField

        public void setField​(String field)