org.pentaho.reporting.engine.classic.core
Class Section
java.lang.Object
org.pentaho.reporting.engine.classic.core.Element
org.pentaho.reporting.engine.classic.core.Section
- All Implemented Interfaces:
- Serializable, Cloneable, DataTarget, ReportElement
- Direct Known Subclasses:
- AbstractReportDefinition, Band, Group, GroupBody, ReportDefinitionImpl
public abstract class Section
- extends Element
A section is a small-scale band that allows to access the child elements but does not define how childs get added or
organized in the section. Defining a sensible order is left to the subclass-implementation.
- Author:
- Thomas Morgner
- See Also:
- Serialized Form
Methods inherited from class org.pentaho.reporting.engine.classic.core.Element |
clone, derive, derive, getAttribute, getAttributeExpression, getAttributeExpressionNames, getAttributeExpressionNamespaces, getAttributeNames, getAttributeNamespaces, getAttributes, getChangeTracker, getContentBase, getDataSource, getDefinitionSource, getElementType, getElementTypeName, getHRefTarget, getId, getMetaData, getName, getObjectID, getParent, getParentSection, getReportDefinition, getStyle, getStyleExpression, getStyleExpressions, getTreeLock, getValue, isDynamicContent, isVisible, notifyNodeChildAdded, notifyNodeChildRemoved, notifyNodePropertiesChanged, notifyNodePropertiesChanged, notifyNodeStructureChanged, setAttribute, setAttribute, setAttributeExpression, setDataSource, setDynamicContent, setElementType, setHRefTarget, setId, setName, setStyleExpression, setVisible, toString |
getElement
public abstract ReportElement getElement(int index)
- Returns the element stored add the given index.
- Parameters:
index
- the element position within this section
- Returns:
- the element
- Throws:
IndexOutOfBoundsException
- if the index is invalid.
getElementCount
public abstract int getElementCount()
- Returns the number of elements in this section.
- Returns:
- the number of elements of this section.
setElementAt
public abstract void setElementAt(int position,
Element element)