|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.Element
org.jfree.report.Band
org.jfree.report.PageHeader
A report band used to print information at the top of every page in the report. There is an option to suppress the page header on the first page and the last page of the report (this is often useful if you are using a report header and/or report footer).
Field Summary |
Fields inherited from class org.jfree.report.Band |
ANONYMOUS_BAND_PREFIX, CONTENT_TYPE |
Fields inherited from class org.jfree.report.Element |
ANONYMOUS_ELEMENT_PREFIX |
Constructor Summary | |
PageHeader()
Constructs a page header. |
|
PageHeader(boolean onFirstPage,
boolean onLastPage)
Constructs a page footer containing no elements. |
Method Summary | |
boolean |
isDisplayOnFirstPage()
Returns true if the header should be shown on page 1, and false otherwise. |
boolean |
isDisplayOnLastPage()
Returns true if the header should be shown on the last page, and false otherwise. |
void |
setDisplayOnFirstPage(boolean b)
Defines whether the header should be shown on the first page. |
void |
setDisplayOnLastPage(boolean b)
Defines whether the header should be shown on the last page. |
Methods inherited from class org.jfree.report.Element |
getDataSource, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getStyle, getStyleSheetCollection, getTreeLock, getValue, isDynamicContent, isLayoutCacheable, isVisible, registerStyleSheetCollection, setDataSource, setDynamicContent, setLayoutCacheable, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setVisible, unregisterStyleSheetCollection |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PageHeader()
public PageHeader(boolean onFirstPage, boolean onLastPage)
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.Method Detail |
public boolean isDisplayOnFirstPage()
public void setDisplayOnFirstPage(boolean b)
b
- a flag indicating whether or not the header is shown on the first page.public boolean isDisplayOnLastPage()
public void setDisplayOnLastPage(boolean b)
b
- a flag indicating whether or not the header is shown on the last page.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |