org.pentaho.reporting.engine.classic.core
Class CrosstabRowGroupBody

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.Element
      extended by org.pentaho.reporting.engine.classic.core.Section
          extended by org.pentaho.reporting.engine.classic.core.GroupBody
              extended by org.pentaho.reporting.engine.classic.core.CrosstabRowGroupBody
All Implemented Interfaces:
Serializable, Cloneable, DataTarget, ReportElement

public class CrosstabRowGroupBody
extends GroupBody

Todo: Document Me

Author:
Thomas Morgner
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.pentaho.reporting.engine.classic.core.Element
ANONYMOUS_ELEMENT_PREFIX
 
Constructor Summary
CrosstabRowGroupBody()
           
CrosstabRowGroupBody(CrosstabRowGroup group)
           
 
Method Summary
 Object clone()
          Clones this Element, the datasource and the private stylesheet of this Element.
 Element derive(boolean preserveElementInstanceIds)
          Clones the report.
 ReportElement getElement(int index)
          Returns the element stored add the given index.
 int getElementCount()
          Returns the number of elements in this section.
 CrosstabRowGroup getGroup()
           
 void setElementAt(int position, Element element)
           
 void setGroup(CrosstabRowGroup group)
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CrosstabRowGroupBody

public CrosstabRowGroupBody()

CrosstabRowGroupBody

public CrosstabRowGroupBody(CrosstabRowGroup group)
Method Detail

getGroup

public CrosstabRowGroup getGroup()

setGroup

public void setGroup(CrosstabRowGroup group)

setElementAt

public void setElementAt(int position,
                         Element element)
Specified by:
setElementAt in class Section

getElementCount

public int getElementCount()
Description copied from class: Section
Returns the number of elements in this section.

Specified by:
getElementCount in class Section
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.

Specified by:
getElement in class Section
Parameters:
index - the element position within this section
Returns:
the element

clone

public Object clone()
             throws CloneNotSupportedException
Clones this Element, the datasource and the private stylesheet of this Element. The clone does no longer have a parent, as the old parent would not recognize that new object anymore.

Specified by:
clone in interface DataTarget
Overrides:
clone in class Element
Returns:
a clone of this Element.
Throws:
CloneNotSupportedException - should never happen.

derive

public Element derive(boolean preserveElementInstanceIds)
               throws CloneNotSupportedException
Clones the report.

Overrides:
derive in class Element
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 clone.
Throws:
CloneNotSupportedException - this should never happen.