public interface JRElementGroup extends JRChild
stretchType
attribute, available for all report elements, is
RelativeToTallestObject
. If you choose this option, the engine tries to identify the
object from the same group as the current graphic element that has suffered the biggest
amount of stretch. It will then adapt the height of the current report element to the height
of this tallest element of the group.
However, for this to work, you must group your elements. To do this, use the
<elementGroup>
and </elementGroup>
tags to mark the elements that
are part of the same group.
Report sections are element groups themselves, so all report elements placed directly in a
containing band are part of the same default element group, which is the band itself. As
such, for these report elements, stretchType="RelativeToTallestObject"
and
stretchType= "RelativeToBandHeight"
have the same effect.Modifier and Type | Method and Description |
---|---|
List<JRChild> |
getChildren()
Gets a list of all direct children elements or elements groups.
|
JRElement |
getElementByKey(String key)
Gets an element from this group, based on its element key.
|
JRElementGroup |
getElementGroup()
Gets the parent element group.
|
JRElement[] |
getElements()
Gets an array containing all the elements and element groups in the hierarchy.
|
visit
clone
List<JRChild> getChildren()
JRElementGroup getElementGroup()
JRElement[] getElements()
Copyright © 2019 TIBCO Software Inc.. All rights reserved.