net.sf.jasperreports.engine.fill
Class JRFillElementGroup

java.lang.Object
  extended bynet.sf.jasperreports.engine.fill.JRFillElementGroup
All Implemented Interfaces:
JRChild, JRElementGroup
Direct Known Subclasses:
JRFillBand

public class JRFillElementGroup
extends java.lang.Object
implements JRElementGroup

Version:
$Id: JRFillElementGroup.java,v 1.16 2005/07/14 10:35:24 teodord Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
protected  java.util.List children
           
protected  JRElementGroup elementGroup
           
protected  JRFillElement[] elements
           
 
Constructor Summary
protected JRFillElementGroup(JRElementGroup elementGrp, JRFillObjectFactory factory)
           
 
Method Summary
 java.util.List getChildren()
          Gets a list of all direct children elements or elements groups.
 JRChild getCopy(JRAbstractObjectFactory factory)
           
 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.
protected  int getStretchHeightDiff()
           
protected  void reset()
           
 void writeXml(JRXmlWriter xmlWriter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

children

protected java.util.List children

elementGroup

protected JRElementGroup elementGroup

elements

protected JRFillElement[] elements
Constructor Detail

JRFillElementGroup

protected JRFillElementGroup(JRElementGroup elementGrp,
                             JRFillObjectFactory factory)
Method Detail

getChildren

public java.util.List getChildren()
Description copied from interface: JRElementGroup
Gets a list of all direct children elements or elements groups.

Specified by:
getChildren in interface JRElementGroup

getElementGroup

public JRElementGroup getElementGroup()
Description copied from interface: JRElementGroup
Gets the parent element group.

Specified by:
getElementGroup in interface JRElementGroup
Returns:
an instance of this class, or null if this is the root group.

getElements

public JRElement[] getElements()
Description copied from interface: JRElementGroup
Gets an array containing all the elements and element groups in the hierarchy.

Specified by:
getElements in interface JRElementGroup

getElementByKey

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

Specified by:
getElementByKey in interface JRElementGroup

reset

protected void reset()

getStretchHeightDiff

protected int getStretchHeightDiff()

getCopy

public JRChild getCopy(JRAbstractObjectFactory factory)
Specified by:
getCopy in interface JRChild

writeXml

public void writeXml(JRXmlWriter xmlWriter)
Specified by:
writeXml in interface JRChild


© 2001-2005 JasperSoft Corporation www.jaspersoft.com