org.jfree.report
Class PageFooter
java.lang.Object
|
+--org.jfree.report.Element
|
+--org.jfree.report.Band
|
+--org.jfree.report.PageFooter
- public class PageFooter
- extends Band
- implements RootLevelBand
A report band that appears at the bottom of every page. There is an option to suppress
the page footer on the first page, and another option does the same for the last page.
- Author:
- David Gilbert
- See Also:
- Serialized Form
|
Constructor Summary |
PageFooter()
Constructs a page footer containing no elements. |
PageFooter(boolean onFirstPage,
boolean onLastPage)
Constructs a page footer containing no elements. |
| Methods inherited from class org.jfree.report.Band |
addElement,
addElement,
addElements,
clone,
createGlobalDefaultStyle,
getContentType,
getElement,
getElement,
getElementArray,
getElementCount,
getElements,
getLayout,
isPagebreakAfterPrint,
isPagebreakBeforePrint,
removeElement,
setLayout,
setPagebreakAfterPrint,
setPagebreakBeforePrint,
toString |
| Methods inherited from class org.jfree.report.Element |
connectDataSource,
disconnectDataSource,
getDataSource,
getHRefTarget,
getMaximumSize,
getMinimumSize,
getName,
getObjectID,
getParent,
getPreferredSize,
getReportDefinition,
getStyle,
getTreeLock,
getValue,
isDynamicContent,
isLayoutCacheable,
isVisible,
setDataSource,
setDynamicContent,
setHRefTarget,
setLayoutCacheable,
setMaximumSize,
setMinimumSize,
setName,
setParent,
setPreferredSize,
setVisible |
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
PageFooter
public PageFooter()
- Constructs a page footer containing no elements.
PageFooter
public PageFooter(boolean onFirstPage,
boolean onLastPage)
- Constructs a page footer containing no elements.
- Parameters:
onFirstPage - defines, whether the page header will be printed on the first
pageonLastPage - defines, whether the page footer will be printed on the last
page.
isDisplayOnFirstPage
public boolean isDisplayOnFirstPage()
- Returns true if the footer should be shown on page 1, and false otherwise.
- Returns:
- true or false.
setDisplayOnFirstPage
public void setDisplayOnFirstPage(boolean b)
- Defines whether the footer should be shown on the first page.
- Parameters:
b - a flag indicating whether or not the footer is shown on the first page.
isDisplayOnLastPage
public boolean isDisplayOnLastPage()
- Returns true if the footer should be shown on the last page, and false otherwise.
- Returns:
- true or false.
setDisplayOnLastPage
public void setDisplayOnLastPage(boolean b)
- Defines whether the footer should be shown on the last page.
- Parameters:
b - a flag indicating whether or not the footer is shown on the first page.
setReportDefinition
public void setReportDefinition(ReportDefinition reportDefinition)
- Assigns the report definition. Don't play with that function, unless you know what
you are doing. You might get burned.
- Specified by:
- setReportDefinition in interface RootLevelBand
- Overrides:
- setReportDefinition in class Band
- Parameters:
reportDefinition - the report definition.