Package net.sf.jasperreports.engine.base
Class JRBaseElementGroup
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseElementGroup
- All Implemented Interfaces:
Serializable,Cloneable,JRChild,JRCloneable,JRElementGroup,JRVisitable
- Direct Known Subclasses:
BaseListContents,CompiledBaseCell,JRBaseBand,JRBaseCellContents,JRDesignElementGroup
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedJRBaseElementGroup(JRElementGroup elementGrp, JRBaseObjectFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionclone()clone(JRElementGroup parentGroup) Gets a list of all direct children elements or elements groups.getElementByKey(String key) Gets an element from this group, based on its element key.static JRElementgetElementByKey(JRElement[] elements, String key) Gets the parent element group.Gets an array containing all the elements and element groups in the hierarchy.static JRElement[]getElements(List<JRChild> children) void
-
Field Details
-
children
-
elementGroup
-
-
Constructor Details
-
JRBaseElementGroup
protected JRBaseElementGroup() -
JRBaseElementGroup
-
-
Method Details
-
getChildren
Description copied from interface:JRElementGroupGets a list of all direct children elements or elements groups.- Specified by:
getChildrenin interfaceJRElementGroup
-
getElementGroup
Description copied from interface:JRElementGroupGets the parent element group.- Specified by:
getElementGroupin interfaceJRElementGroup- Returns:
- an instance of this class, or null if this is the root group.
-
getElements
-
getElements
Description copied from interface:JRElementGroupGets an array containing all the elements and element groups in the hierarchy.- Specified by:
getElementsin interfaceJRElementGroup
-
getElementByKey
-
getElementByKey
Description copied from interface:JRElementGroupGets an element from this group, based on its element key.- Specified by:
getElementByKeyin interfaceJRElementGroup
-
visit
- Specified by:
visitin interfaceJRVisitable
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-
clone
-