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()
JRElementGroup
getChildren
in interface JRElementGroup
public JRElementGroup getElementGroup()
JRElementGroup
getElementGroup
in interface JRElementGroup
public JRElement[] getElements()
JRElementGroup
getElements
in interface JRElementGroup
public JRElement getElementByKey(String key)
JRElementGroup
getElementByKey
in interface JRElementGroup
protected void reset()
protected int getStretchHeightDiff()
public void visit(JRVisitor visitor)
visit
in interface JRVisitable
public JRFillCloneable createClone(JRFillCloneFactory factory)
JRFillCloneable
createClone
in interface JRFillCloneable
factory
- the clone factory to use while creating the clonepublic Object clone()
clone
in interface JRCloneable
clone
in class Object
public Object clone(JRElementGroup parentGroup)
Copyright © 2017. All rights reserved.