public abstract class Section extends Element implements Iterable<Element>
ANONYMOUS_ELEMENT_PREFIX
Modifier and Type | Method and Description |
---|---|
Section |
clone()
Clones this Element, the datasource and the private stylesheet of this Element.
|
Section |
derive(boolean preserveElementInstanceIds)
Creates a deep copy of this element and regenerates all instance-ids.
|
ElementStyleSheet |
getDefaultStyleSheet()
Creates the global stylesheet for this element type.
|
abstract Element |
getElement(int index)
Returns the element stored add the given index.
|
abstract int |
getElementCount()
Returns the number of elements in this section.
|
Iterator<Element> |
iterator() |
abstract void |
setElementAt(int position,
Element element) |
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, notifyNodeChildAdded, notifyNodeChildRemoved, notifyNodePropertiesChanged, notifyNodePropertiesChanged, notifyNodeStructureChanged, setAttribute, setAttribute, setAttributeExpression, setComputedStyle, setDataSource, setDynamicContent, setElementType, setHRefTarget, setId, setName, setStyleExpression, setVisible, toString
public ElementStyleSheet getDefaultStyleSheet()
getDefaultStyleSheet
in interface ReportElement
getDefaultStyleSheet
in class Element
public abstract Element getElement(int index)
index
- the element position within this sectionIndexOutOfBoundsException
- if the index is invalid.public abstract int getElementCount()
public abstract void setElementAt(int position, Element element)
public Section derive(boolean preserveElementInstanceIds)
Element
derive
in class Element
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.public Section clone()
Element
clone
in interface DataTarget
clone
in class Element