com.jrefinery.report
Class ReportFooter

java.lang.Object
  extended bycom.jrefinery.report.Element
      extended bycom.jrefinery.report.Band
          extended bycom.jrefinery.report.ReportFooter
All Implemented Interfaces:
java.lang.Cloneable, DataTarget, java.io.Serializable

public class ReportFooter
extends Band

A report band that appears as the very last band on the report.

Note that if there is a page footer on the last page of your report, it will be printed below the report footer, the logic being that the page footer *always* appears at the bottom of the page. In many cases, it makes better sense to suppress the page footer on the last page of the report (leaving just the report footer on the final page).

Author:
David Gilbert
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.jrefinery.report.Band
CONTENT_TYPE
 
Fields inherited from class com.jrefinery.report.Element
BOTTOM, CENTER, LEFT, MIDDLE, RIGHT, TOP
 
Constructor Summary
ReportFooter()
          Constructs a report footer containing no elements.
 
Method Summary
 boolean isOwnPage()
          Returns true if the report footer should be shown on its own page.
 void setOwnPage(boolean b)
          Sets the flag that controls whether the report header appears on its own page.
 
Methods inherited from class com.jrefinery.report.Band
addElement, addElement, addElements, clone, getBandDefaults, getContentType, getElement, getElement, getElementArray, getElementCount, getElements, getHeight, getLayout, invalidateLayout, registerStyleSheetCollection, removeElement, setHeight, setLayout, toString, unregisterStyleSheetCollection
 
Methods inherited from class com.jrefinery.report.Element
getDataSource, getName, getPaint, getParent, getStyle, getStyleSheetCollection, getValue, isVisible, setDataSource, setName, setPaint, setParent, setStyleSheetCollection, setVisible
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportFooter

public ReportFooter()
Constructs a report footer containing no elements.

Method Detail

isOwnPage

public boolean isOwnPage()
Returns true if the report footer should be shown on its own page.

Returns:
true if the report footer should be shown on its own page.

setOwnPage

public void setOwnPage(boolean b)
Sets the flag that controls whether the report header appears on its own page.

Parameters:
b - the flag.