public class CrosstabSummaryHeader extends Band implements RootLevelBand
ANONYMOUS_BAND_PREFIX
ANONYMOUS_ELEMENT_PREFIX
Constructor and Description |
---|
CrosstabSummaryHeader()
Constructs a new band (initially empty).
|
Modifier and Type | Method and Description |
---|---|
ElementStyleSheet |
getDefaultStyleSheet()
Returns the global stylesheet for all bands.
|
SubReport |
getSubReport(int index)
Throws an IndexOutOfBoundsException as page-footer cannot have sub-reports.
|
int |
getSubReportCount()
Returns the number of subreports on this band.
|
SubReport[] |
getSubReports()
Returns an empty array, as page-footer cannot have subreports.
|
boolean |
isRepeat()
Checks whether this group header should be repeated on new pages.
|
boolean |
isSticky()
Returns true if the footer should be shown on all subreports.
|
void |
setRepeat(boolean repeat)
Defines, whether this group header should be repeated on new pages.
|
void |
setSticky(boolean b)
Defines whether the footer should be shown on all subreports.
|
addElement, addElement, addElements, clear, clone, derive, getElement, getElement, getElementArray, getElementCount, getLayout, isPagebreakAfterPrint, isPagebreakBeforePrint, removeElement, removeElement, setElementAt, setLayout, setPagebreakAfterPrint, setPagebreakBeforePrint, toString, unsafeGetElementArray
iterator, registerAsChild, 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, getName, getObjectID, getParent, getParentSection, getReportDefinition, getStyle, getStyleExpression, getStyleExpressions, getTreeLock, isDynamicContent, isVisible, notifyElement, notifyNodeChildAdded, notifyNodeChildRemoved, notifyNodePropertiesChanged, notifyNodePropertiesChanged, notifyNodeStructureChanged, setAttribute, setAttribute, setAttributeExpression, setChangeTracker, setComputedStyle, setDataSource, setDynamicContent, setElementType, setHRefTarget, setId, setName, setParent, setStyleExpression, setVisible, updateChangedFlagInternal, updateInternalChangeFlag
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAttribute, getAttributeExpression, getAttributeExpressionNames, getAttributeExpressionNamespaces, getAttributeNames, getAttributeNamespaces, getAttributes, getAttributeTyped, getChangeTracker, getChildElementByType, getChildElementsByName, getChildElementsByType, getComputedStyle, getElementContext, getElementType, getFirstAttribute, getId, getMetaData, getName, getObjectID, getParentSection, getReportDefinition, getStyle, getStyleExpression, getStyleExpressions, getTreeLock, setAttribute, setAttribute, setAttributeExpression, setComputedStyle, setStyleExpression
forEach, spliterator
public CrosstabSummaryHeader()
public final int getSubReportCount()
getSubReportCount
in interface RootLevelBand
public final SubReport getSubReport(int index)
getSubReport
in interface RootLevelBand
index
- the index.public SubReport[] getSubReports()
getSubReports
in interface RootLevelBand
public boolean isRepeat()
public void setRepeat(boolean repeat)
repeat
- true, if the header will be repeated, false otherwisepublic boolean isSticky()
public void setSticky(boolean b)
b
- a flag indicating whether or not the footer is shown on the first page.public ElementStyleSheet getDefaultStyleSheet()
Band
getDefaultStyleSheet
in interface ReportElement
getDefaultStyleSheet
in class Band
Copyright © 2017 Hitachi Vantara. All rights reserved.