public class CrosstabGroup extends Group
ANONYMOUS_ELEMENT_PREFIX
Constructor and Description |
---|
CrosstabGroup() |
CrosstabGroup(CrosstabOtherGroupBody body) |
CrosstabGroup(CrosstabRowGroupBody body) |
CrosstabGroup(GroupBody body) |
Modifier and Type | Method and Description |
---|---|
void |
addPaddingField(String name)
Adds a field to the group.
|
void |
clearPaddingFields() |
CrosstabGroup |
clone()
Clones this Element.
|
CrosstabGroup |
derive(boolean preserveElementInstanceIds)
Creates a deep copy of this element and regenerates all instance-ids.
|
CrosstabDetailMode |
getDetailsMode() |
Element |
getElement(int index)
Returns the element stored add the given index.
|
int |
getElementCount()
Returns the number of elements in this section.
|
GroupFooter |
getFooter()
Returns the group footer.
|
GroupHeader |
getHeader()
Returns the group header.
|
NoDataBand |
getNoDataBand() |
List<String> |
getPaddingFields()
Returns the list of fields for this group.
|
String[] |
getPaddingFieldsArray()
Returns the group fields as array.
|
Boolean |
getPrintColumnTitleHeader() |
Boolean |
getPrintDetailsHeader() |
List<SortConstraint> |
getSortingConstraint() |
boolean |
isGroupChange(DataRow dataRow) |
void |
setBody(GroupBody body) |
void |
setDetailsMode(CrosstabDetailMode mode) |
void |
setElementAt(int index,
Element element) |
void |
setFooter(GroupFooter footer)
Sets the footer for the group.
|
void |
setHeader(GroupHeader header)
Sets the header for the group.
|
void |
setNoDataBand(NoDataBand noDataBand) |
void |
setPaddingFields(List<String> c)
Sets the fields for this group.
|
void |
setPaddingFieldsArray(String[] fields) |
void |
setPrintColumnTitleHeader(Boolean printColumnTitleHeader) |
void |
setPrintDetailsHeader(Boolean printDetailsHeader) |
getBody, getGeneratedName, getName, isAscendingSortOrder, matches, setAscendingSortOrder
getDefaultStyleSheet, iterator
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, 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 CrosstabGroup()
public CrosstabGroup(GroupBody body)
public CrosstabGroup(CrosstabRowGroupBody body)
public CrosstabGroup(CrosstabOtherGroupBody body)
public GroupHeader getHeader()
The group header is a report band that contains elements that should be printed at the start of a group.
public void setHeader(GroupHeader header)
header
- the header (null not permitted).NullPointerException
- if the given header is nullpublic GroupFooter getFooter()
public void setFooter(GroupFooter footer)
footer
- the footer (null not permitted).NullPointerException
- if the given footer is null.public NoDataBand getNoDataBand()
public void setNoDataBand(NoDataBand noDataBand)
public boolean isGroupChange(DataRow dataRow)
isGroupChange
in class Group
public CrosstabGroup clone()
clone
in interface DataTarget
clone
in class Group
public CrosstabGroup derive(boolean preserveElementInstanceIds)
Element
derive
in class Group
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 int getElementCount()
Section
getElementCount
in class Section
public Element getElement(int index)
Section
getElement
in class Section
index
- the element position within this sectionpublic void setElementAt(int index, Element element)
setElementAt
in class Section
public void setDetailsMode(CrosstabDetailMode mode)
public CrosstabDetailMode getDetailsMode()
public Boolean getPrintDetailsHeader()
public void setPrintDetailsHeader(Boolean printDetailsHeader)
public Boolean getPrintColumnTitleHeader()
public void setPrintColumnTitleHeader(Boolean printColumnTitleHeader)
public void setPaddingFields(List<String> c)
c
- the list containing strings.NullPointerException
- if the given list is null or the list contains null-values.public void clearPaddingFields()
public void addPaddingField(String name)
name
- the field name (null not permitted).NullPointerException
- if the name is nullpublic List<String> getPaddingFields()
public void setPaddingFieldsArray(String[] fields)
public String[] getPaddingFieldsArray()
public List<SortConstraint> getSortingConstraint()
getSortingConstraint
in class Group