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

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.Band
              extended by org.pentaho.reporting.engine.classic.core.AbstractRootLevelBand
                  extended by org.pentaho.reporting.engine.classic.core.ReportHeader
All Implemented Interfaces:
Serializable, Cloneable, DataTarget, ReportElement, RootLevelBand

public class ReportHeader
extends AbstractRootLevelBand

A report band that is printed once only at the beginning of the report.

A flag can be set forcing the report generator to start a new page after printing the report header.

Note that if there is a page header on the first page of your report, it will be printed above the report header, the logic being that the page header *always* appears at the top of the page. In many cases, it makes better sense to suppress the page header on the first page of the report (leaving just the report header on page 1).

Author:
David Gilbert, Thomas Morgner
See Also:
Serialized Form

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
ReportHeader()
          Constructs a report header, initially containing no elements.
 
Method Summary
 
Methods inherited from class org.pentaho.reporting.engine.classic.core.AbstractRootLevelBand
addSubReport, addSubReport, clone, derive, getSubReport, getSubReportCount, getSubReports, removeSubreport
 
Methods inherited from class org.pentaho.reporting.engine.classic.core.Band
addElement, addElement, addElements, clear, getElement, getElement, getElementArray, getElementCount, isPagebreakAfterPrint, isPagebreakBeforePrint, removeElement, setElementAt, setPagebreakAfterPrint, setPagebreakBeforePrint, toString, unsafeGetElementArray
 
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
 
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

ReportHeader

public ReportHeader()
Constructs a report header, initially containing no elements.