public abstract class Group extends Section
ANONYMOUS_ELEMENT_PREFIX
Modifier | Constructor and Description |
---|---|
protected |
Group()
Constructs a group with no fields, and an empty header and footer.
|
protected |
Group(GroupBody body) |
Modifier and Type | Method and Description |
---|---|
Group |
clone()
Clones this Element.
|
protected abstract GroupBody |
createDefaultBody() |
Group |
derive(boolean preserveElementInstanceIds)
Creates a deep copy of this element and regenerates all instance-ids.
|
GroupBody |
getBody() |
String |
getGeneratedName() |
String |
getName()
Returns the name of the Element.
|
abstract List<SortConstraint> |
getSortingConstraint() |
boolean |
isAscendingSortOrder() |
abstract boolean |
isGroupChange(DataRow dataRow) |
protected List<SortConstraint> |
mapFields(List<String> fields) |
boolean |
matches(String name) |
protected void |
notifyElement() |
protected void |
removeElement(Element element)
Removes an element from the section.
|
void |
setAscendingSortOrder(Boolean order) |
void |
setBody(GroupBody body) |
getDefaultStyleSheet, getElement, getElementCount, iterator, registerAsChild, setElementAt, unregisterAsChild, unregisterParent, validateLooping
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, setChangeTracker, setComputedStyle, setDataSource, setDynamicContent, setElementType, setHRefTarget, setId, setName, setParent, setStyleExpression, setVisible, toString, updateChangedFlagInternal, updateInternalChangeFlag
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
protected Group()
protected Group(GroupBody body)
public GroupBody getBody()
public void setBody(GroupBody body)
public Group clone()
clone
in interface DataTarget
clone
in class Section
public Group derive(boolean preserveElementInstanceIds)
Element
derive
in class Section
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 abstract boolean isGroupChange(DataRow dataRow)
protected void removeElement(Element element)
Section
removeElement
in class Section
element
- the element to be section.protected abstract GroupBody createDefaultBody()
protected void notifyElement()
notifyElement
in class Element
public String getGeneratedName()
public String getName()
Element
getName
in interface ReportElement
getName
in class Element
public boolean matches(String name)
public abstract List<SortConstraint> getSortingConstraint()
protected List<SortConstraint> mapFields(List<String> fields)
public boolean isAscendingSortOrder()
public void setAscendingSortOrder(Boolean order)
Copyright © 2017 Hitachi Vantara. All rights reserved.