Package net.sf.jasperreports.engine.fill
Class JRFillElementGroup
java.lang.Object
net.sf.jasperreports.engine.fill.JRFillElementGroup
- All Implemented Interfaces:
Cloneable,JRFillCloneable,JRChild,JRCloneable,JRElementGroup,JRVisitable
- Direct Known Subclasses:
JRFillElementContainer
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JRElementprotected JRElementGroupprotected JRFillElement[]protected JRElement -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJRFillElementGroup(JRFillElementGroup elementGrp, JRFillCloneFactory factory) protectedJRFillElementGroup(JRElementGroup elementGrp, JRFillObjectFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionclone()clone(JRElementGroup parentGroup) createClone(JRFillCloneFactory factory) Creates a working clone of itself.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.Gets the parent element group.Gets an array containing all the elements and element groups in the hierarchy.protected intprotected voidreset()void
-
Field Details
-
children
-
elementGroup
-
elements
-
topElementInGroup
-
bottomElementInGroup
-
-
Constructor Details
-
JRFillElementGroup
-
JRFillElementGroup
-
-
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
Description copied from interface:JRElementGroupGets an array containing all the elements and element groups in the hierarchy.- Specified by:
getElementsin interfaceJRElementGroup
-
getElementByKey
Description copied from interface:JRElementGroupGets an element from this group, based on its element key.- Specified by:
getElementByKeyin interfaceJRElementGroup
-
reset
protected void reset() -
getStretchHeightDiff
protected int getStretchHeightDiff() -
visit
- Specified by:
visitin interfaceJRVisitable
-
createClone
Description copied from interface:JRFillCloneableCreates a working clone of itself.- Specified by:
createClonein interfaceJRFillCloneable- Parameters:
factory- the clone factory to use while creating the clone- Returns:
- a working clone of itself
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-
clone
-