org.pentaho.reporting.engine.classic.core
Class CrosstabColumnGroup
java.lang.Object
org.pentaho.reporting.engine.classic.core.Element
org.pentaho.reporting.engine.classic.core.Section
org.pentaho.reporting.engine.classic.core.Group
org.pentaho.reporting.engine.classic.core.CrosstabColumnGroup
- All Implemented Interfaces:
- Serializable, Cloneable, DataTarget, ReportElement
public class CrosstabColumnGroup
- extends Group
Can have either a column body or a details body.
- Author:
- Thomas Morgner
- See Also:
- Serialized Form
Methods inherited from class org.pentaho.reporting.engine.classic.core.Element |
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 |
CrosstabColumnGroup
public CrosstabColumnGroup()
getTitleHeader
public CrosstabTitleHeader getTitleHeader()
setTitleHeader
public void setTitleHeader(CrosstabTitleHeader titleHeader)
getTitleFooter
public CrosstabTitleFooter getTitleFooter()
setTitleFooter
public void setTitleFooter(CrosstabTitleFooter titleFooter)
getField
public String getField()
setField
public void setField(String field)
setBody
public void setBody(GroupBody body)
- Overrides:
setBody
in class Group
isGroupChange
public boolean isGroupChange(DataRow dataRow)
- Specified by:
isGroupChange
in class Group
clone
public Object clone()
throws CloneNotSupportedException
- Description copied from class:
Group
- Clones this Element.
- Specified by:
clone
in interface DataTarget
- Overrides:
clone
in class Group
- Returns:
- a clone of this element.
- Throws:
CloneNotSupportedException
- should never be thrown.
derive
public Element derive(boolean preserveElementInstanceIds)
throws CloneNotSupportedException
- Description copied from class:
Element
- Creates a deep copy of this element and regenerates all instance-ids.
- Overrides:
derive
in class Group
- Parameters:
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.
- Returns:
- the copy of the element.
- Throws:
CloneNotSupportedException
getElementCount
public int getElementCount()
- Description copied from class:
Section
- Returns the number of elements in this section.
- Overrides:
getElementCount
in class Group
- Returns:
- the number of elements of this section.
getElement
public ReportElement getElement(int index)
- Description copied from class:
Section
- Returns the element stored add the given index.
- Overrides:
getElement
in class Group
- Parameters:
index
- the element position within this section
- Returns:
- the element
setElementAt
public void setElementAt(int index,
Element element)
- Overrides:
setElementAt
in class Group