public class JRFillElementGroup extends Object implements JRElementGroup, JRFillCloneable
| Modifier and Type | Field and Description |
|---|---|
protected JRElement |
bottomElementInGroup |
protected List<JRChild> |
children |
protected JRElementGroup |
elementGroup |
protected JRFillElement[] |
elements |
protected JRElement |
topElementInGroup |
| Modifier | Constructor and Description |
|---|---|
protected |
JRFillElementGroup(JRElementGroup elementGrp,
JRFillObjectFactory factory) |
protected |
JRFillElementGroup(JRFillElementGroup elementGrp,
JRFillCloneFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Object |
clone(JRElementGroup parentGroup) |
JRFillCloneable |
createClone(JRFillCloneFactory factory)
Creates a working clone of itself.
|
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.
|
protected int |
getStretchHeightDiff() |
protected void |
reset() |
void |
visit(JRVisitor visitor) |
protected JRElementGroup elementGroup
protected JRFillElement[] elements
protected JRElement topElementInGroup
protected JRElement bottomElementInGroup
protected JRFillElementGroup(JRElementGroup elementGrp, JRFillObjectFactory factory)
protected JRFillElementGroup(JRFillElementGroup elementGrp, JRFillCloneFactory factory)
public List<JRChild> getChildren()
JRElementGroupgetChildren in interface JRElementGrouppublic JRElementGroup getElementGroup()
JRElementGroupgetElementGroup in interface JRElementGrouppublic JRElement[] getElements()
JRElementGroupgetElements in interface JRElementGrouppublic JRElement getElementByKey(String key)
JRElementGroupgetElementByKey in interface JRElementGroupprotected void reset()
protected int getStretchHeightDiff()
public void visit(JRVisitor visitor)
visit in interface JRVisitablepublic JRFillCloneable createClone(JRFillCloneFactory factory)
JRFillCloneablecreateClone in interface JRFillCloneablefactory - the clone factory to use while creating the clonepublic Object clone()
clone in interface JRCloneableclone in class Objectpublic Object clone(JRElementGroup parentGroup)
Copyright © 2017. All rights reserved.