net.sf.jasperreports.engine
Interface JRElementGroup

All Superinterfaces:
JRChild
All Known Subinterfaces:
JRBand
All Known Implementing Classes:
JRBaseBand, JRBaseElementGroup, JRDesignBand, JRFillBand, JRFillElementGroup

public interface JRElementGroup
extends JRChild

Groups several report elements. Report elements placed in any report section can be arranged in multiple nested groups. The only reason you might have for grouping your elements is to be able to customize the stretch behavior of the report elements.

Version:
$Id: JRElementGroup.java,v 1.9 2005/08/22 15:44:50 ionutned Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Method Summary
 java.util.List getChildren()
          Gets a list of all direct children elements or elements groups.
 JRElement getElementByKey(java.lang.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.
 
Methods inherited from interface net.sf.jasperreports.engine.JRChild
getCopy, writeXml
 

Method Detail

getChildren

public java.util.List getChildren()
Gets a list of all direct children elements or elements groups.


getElementGroup

public JRElementGroup getElementGroup()
Gets the parent element group.

Returns:
an instance of this class, or null if this is the root group.

getElements

public JRElement[] getElements()
Gets an array containing all the elements and element groups in the hierarchy.


getElementByKey

public JRElement getElementByKey(java.lang.String key)
Gets an element from this group, based on its element key.



© 2001-2005 JasperSoft Corporation www.jaspersoft.com