Class JRDesignFrame

    • Constructor Detail

      • JRDesignFrame

        public JRDesignFrame​(JRDefaultStyleProvider defaultStyleProvider)
        Creates a new frame object.
        Parameters:
        defaultStyleProvider - default style provider instance
      • JRDesignFrame

        public JRDesignFrame()
        Creates a new frame object.
    • Method Detail

      • addElement

        public void addElement​(JRElement element)
        Adds a sub element to the frame.
        Parameters:
        element - the element to add
      • addElement

        public void addElement​(int index,
                               JRElement element)
        Inserts a sub element at specified position into the frame.
        Parameters:
        index - the element position
        element - the element to add
      • removeElement

        public boolean removeElement​(JRElement element)
        Removes a sub element from the frame.
        Parameters:
        element - the element to remove
        Returns:
        true if this frame contained the specified element
      • addElementGroup

        public void addElementGroup​(JRElementGroup group)
        Adds an element group to the frame.
        Parameters:
        group - the element group to add
      • addElementGroup

        public void addElementGroup​(int index,
                                    JRElementGroup group)
        Inserts an element group at specified position into the frame.
        Parameters:
        index - the element group position
        group - the element group to add
      • removeElementGroup

        public boolean removeElementGroup​(JRElementGroup group)
        Removes a group element from the frame.
        Parameters:
        group - the group to remove
        Returns:
        true if this frame contained the specified group
      • getMode

        public ModeEnum getMode()
        Description copied from interface: JRCommonElement
        Returns the element transparency mode. The default value depends on the type of the report element. Graphic elements like rectangles and lines are opaque by default, but the images are transparent. Both static texts and text fields are transparent by default, and so are the subreport elements.
        Specified by:
        getMode in interface JRCommonElement
        Overrides:
        getMode in class JRBaseElement
      • copyBox

        public void copyBox​(JRLineBox lineBox)
      • setBorderSplitType

        public void setBorderSplitType​(BorderSplitType borderSplitType)
        Sets the border split type for the frame.
        Parameters:
        borderSplitType - the border split type
        See Also:
        JRFrame.getBorderSplitType()