|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.engine.classic.core.Element
org.pentaho.reporting.engine.classic.core.Section
org.pentaho.reporting.engine.classic.core.Band
org.pentaho.reporting.engine.classic.core.DetailsHeader
public class DetailsHeader
A details header is printed between the last group-header and the first detail band. The header is printed on the itemsStarted(..) event. A details-header cannot carry subreports.
This behavior can be easily changed with a style-expression on the visible-style-property. ("=NOT(ISEMPTYDATA())"
| Field Summary |
|---|
| Fields inherited from class org.pentaho.reporting.engine.classic.core.Band |
|---|
ANONYMOUS_BAND_PREFIX, CONTENT_TYPE |
| Fields inherited from class org.pentaho.reporting.engine.classic.core.Element |
|---|
ANONYMOUS_ELEMENT_PREFIX |
| Constructor Summary | |
|---|---|
DetailsHeader()
Constructs a new band (initially empty). |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.pentaho.reporting.engine.classic.core.Band |
|---|
addElement, addElement, addElements, clear, clone, derive, getElement, getElement, getElementArray, getElementCount, isPagebreakAfterPrint, isPagebreakBeforePrint, removeElement, setElementAt, setPagebreakAfterPrint, setPagebreakBeforePrint, toString, unsafeGetElementArray |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.pentaho.reporting.engine.classic.core.ReportElement |
|---|
getAttribute, getAttributeExpression, getAttributeExpressionNames, getAttributeExpressionNamespaces, getAttributeNames, getAttributeNamespaces, getAttributes, getId, getMetaData, getName, getObjectID, getParentSection, getReportDefinition, getStyle, getStyleExpression, getStyleExpressions, getTreeLock, setAttribute, setAttributeExpression, setStyleExpression |
| Constructor Detail |
|---|
public DetailsHeader()
| Method Detail |
|---|
public final int getSubReportCount()
getSubReportCount in interface RootLevelBandpublic final SubReport getSubReport(int index)
getSubReport in interface RootLevelBandindex - the index.
public SubReport[] getSubReports()
getSubReports in interface RootLevelBandpublic 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||