| |
|
| java.lang.Object org.jfree.report.Element org.jfree.report.Band org.jfree.report.AbstractRootLevelBand org.jfree.report.GroupHeader
GroupHeader | public class GroupHeader extends AbstractRootLevelBand (Code) | | A report band that appears at the beginning of each instance of a group. A group-header can be marked as repeating
header causing the header to be printed at the top of each page as long as the group is active. If the header is
marked sticky, the header will even be printed for all sub-report pages.
Subreports defined for a repeating group header will be ignored for all repeating instances.
author: David Gilbert |
Constructor Summary | |
public | GroupHeader() Constructs a group header band, containing no elements. |
Method Summary | |
public boolean | isRepeat() Checks, whether this group header should be repeated on new pages. | public boolean | isSticky() Returns true if the footer should be shown on all subreports. | public void | setRepeat(boolean repeat) Defines, whether this group header should be repeated on new pages. | public void | setSticky(boolean b) Defines whether the footer should be shown on all subreports. |
GroupHeader | public GroupHeader()(Code) | | Constructs a group header band, containing no elements.
|
isRepeat | public boolean isRepeat()(Code) | | Checks, whether this group header should be repeated on new pages.
true, if the header will be repeated, false otherwise |
isSticky | public boolean isSticky()(Code) | | Returns true if the footer should be shown on all subreports.
true or false. |
setRepeat | public void setRepeat(boolean repeat)(Code) | | Defines, whether this group header should be repeated on new pages.
Parameters: repeat - true, if the header will be repeated, false otherwise |
setSticky | public void setSticky(boolean b)(Code) | | Defines whether the footer should be shown on all subreports.
Parameters: b - a flag indicating whether or not the footer is shown on the first page. |
Fields inherited from org.jfree.report.Element | final public static String ANONYMOUS_ELEMENT_PREFIX(Code)(Java Doc)
|
|
|
|