public class JRBaseElementGroup extends java.lang.Object implements JRElementGroup, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<JRChild> |
children |
protected JRElementGroup |
elementGroup |
| Modifier | Constructor and Description |
|---|---|
protected |
JRBaseElementGroup() |
protected |
JRBaseElementGroup(JRElementGroup elementGrp,
JRBaseObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
java.lang.Object |
clone(JRElementGroup parentGroup) |
java.util.List<JRChild> |
getChildren()
Gets a list of all direct children elements or elements groups.
|
static JRElement |
getElementByKey(JRElement[] elements,
java.lang.String key) |
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.
|
static JRElement[] |
getElements(java.util.List<JRChild> children) |
void |
visit(JRVisitor visitor) |
protected java.util.List<JRChild> children
protected JRElementGroup elementGroup
protected JRBaseElementGroup()
protected JRBaseElementGroup(JRElementGroup elementGrp, JRBaseObjectFactory factory)
public java.util.List<JRChild> getChildren()
JRElementGroupgetChildren in interface JRElementGrouppublic JRElementGroup getElementGroup()
JRElementGroupgetElementGroup in interface JRElementGrouppublic JRElement[] getElements()
JRElementGroupgetElements in interface JRElementGrouppublic JRElement getElementByKey(java.lang.String key)
JRElementGroupgetElementByKey in interface JRElementGrouppublic void visit(JRVisitor visitor)
visit in interface JRVisitablepublic java.lang.Object clone()
clone in interface JRCloneableclone in class java.lang.Objectpublic java.lang.Object clone(JRElementGroup parentGroup)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com