| |
|
| java.lang.Object org.jfree.report.Element org.jfree.report.Band org.jfree.report.AbstractRootLevelBand
All known Subclasses: org.jfree.report.NoDataBand, org.jfree.report.ReportFooter, org.jfree.report.GroupFooter, org.jfree.report.GroupHeader, org.jfree.report.ItemBand, org.jfree.report.ReportHeader,
AbstractRootLevelBand | abstract public class AbstractRootLevelBand extends Band implements RootLevelBand(Code) | | The root-level band is the container that is processed by a report-state. The root-level band processing
is atomic - so either the full band is processed or not processed at all.
author: Thomas Morgner |
Constructor Summary | |
protected | AbstractRootLevelBand() Constructs a new band (initially empty). | protected | AbstractRootLevelBand(boolean pagebreakBefore, boolean pagebreakAfter) Constructs a new band with the given pagebreak attributes. |
AbstractRootLevelBand | protected AbstractRootLevelBand()(Code) | | Constructs a new band (initially empty).
|
AbstractRootLevelBand | protected AbstractRootLevelBand(boolean pagebreakBefore, boolean pagebreakAfter)(Code) | | Constructs a new band with the given pagebreak attributes. Pagebreak
attributes have no effect on subbands.
Parameters: pagebreakAfter - defines, whether a pagebreak should be done afterthat band was printed. Parameters: pagebreakBefore - defines, whether a pagebreak should be done beforethat band gets printed. |
addSubReport | public void addSubReport(SubReport report)(Code) | | Attaches a new subreport at the end of the list.
Parameters: report - the subreport, never null. |
clone | public Object clone() throws CloneNotSupportedException(Code) | | Clones this band and all elements contained in this band. After the cloning
the band is no longer connected to a report definition.
the clone of this band. throws: CloneNotSupportedException - if this band or an element contained inthis band does not support cloning. |
getSubReport | public SubReport getSubReport(int index)(Code) | | Returns the subreport at the given index-position.
Parameters: index - the index the subreport stored at the given index. throws: IndexOutOfBoundsException - if there is no such subreport. |
getSubReportCount | public int getSubReportCount()(Code) | | Returns the number of subreports attached to this root level band.
the number of subreports. |
getSubReports | public SubReport[] getSubReports()(Code) | | Returns all sub-reports as array.
the sub-reports as array. |
removeSubreport | public void removeSubreport(SubReport report)(Code) | | Removes the given subreport from the list of attached sub-reports.
Parameters: report - the subreport to be removed. |
setReportDefinition | public void setReportDefinition(ReportDefinition reportDefinition)(Code) | | Assigns the report definition. Don't play with that function, unless you
know what you are doing. You might get burned.
Parameters: reportDefinition - the report definition. |
Fields inherited from org.jfree.report.Element | final public static String ANONYMOUS_ELEMENT_PREFIX(Code)(Java Doc)
|
|
|
|