public class SubGroupBody extends GroupBody
ANONYMOUS_ELEMENT_PREFIX
Constructor and Description |
---|
SubGroupBody() |
SubGroupBody(Group group) |
Modifier and Type | Method and Description |
---|---|
SubGroupBody |
clone()
Clones this Element, the datasource and the private stylesheet of this Element.
|
SubGroupBody |
derive(boolean preserveElementInstanceIds)
Clones the report.
|
Element |
getElement(int index)
Returns the element stored add the given index.
|
int |
getElementCount()
Returns the number of elements in this section.
|
Group |
getGroup() |
protected void |
removeElement(Element element)
Removes an element from the section.
|
void |
setElementAt(int position,
Element element) |
void |
setGroup(Group group) |
getDefaultStyleSheet, iterator, registerAsChild, unregisterAsChild, unregisterParent, validateLooping
copyAttributes, copyInto, derive, getAttribute, getAttributeExpression, getAttributeExpressionNames, getAttributeExpressionNamespaces, getAttributeExpressions, getAttributeNames, getAttributeNamespaces, getAttributes, getAttributeTyped, getChangeTracker, getChildElementByType, getChildElementsByName, getChildElementsByType, getComputedStyle, getContentBase, getDataSource, getDefinitionSource, getElementContext, getElementType, getElementTypeName, getFirstAttribute, getHRefTarget, getId, getMasterReport, getMetaData, getName, getObjectID, getParent, getParentSection, getReportDefinition, getStyle, getStyleExpression, getStyleExpressions, getTreeLock, isDynamicContent, isVisible, notifyElement, notifyNodeChildAdded, notifyNodeChildRemoved, notifyNodePropertiesChanged, notifyNodePropertiesChanged, notifyNodeStructureChanged, setAttribute, setAttribute, setAttributeExpression, setChangeTracker, setComputedStyle, setDataSource, setDynamicContent, setElementType, setHRefTarget, setId, setName, setParent, setStyleExpression, setVisible, toString, updateChangedFlagInternal, updateInternalChangeFlag
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public SubGroupBody()
public SubGroupBody(Group group)
public void setGroup(Group group)
protected void removeElement(Element element)
Section
removeElement
in class Section
element
- the element to be section.public void setElementAt(int position, Element element)
setElementAt
in class Section
public int getElementCount()
Section
getElementCount
in class Section
public Element getElement(int index)
Section
getElement
in class Section
index
- the element position within this sectionpublic SubGroupBody clone()
clone
in interface DataTarget
clone
in class Section
public SubGroupBody derive(boolean preserveElementInstanceIds)
derive
in class Section
preserveElementInstanceIds
- defines whether this call generates new instance-ids for the derived elements. Instance-IDs are used by
the report processor to recognize reoccurring elements and must not changed within the report run. Outside
of the report processors new instance ids should be generated at all times to separate instances and to
make them uniquely identifiable.Copyright © 2017 Hitachi Vantara. All rights reserved.