|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.states.ReportDefinitionImpl
A report definition. This the working copy of the JFreeReport object. This object is not serializable, as it is used internally. This implementation is not intended to be known outside. Whatever you planned to do with it - dont do it!
Its only pupose is to be used and manipulated in the report states, there is no reason to do it outside.
Constructor Summary | |
ReportDefinitionImpl(JFreeReport report)
Creates a report definition from a report object. |
Method Summary | |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
DataRowConnector |
getDataRowConnector()
Returns the datarow connector used to feed all elements. |
Group |
getGroup(int count)
Returns the group at the specified index or null, if there is no such group. |
int |
getGroupCount()
Returns the number of groups in this report. |
GroupList |
getGroups()
Returns the list of groups for the report. |
ItemBand |
getItemBand()
Returns the item band. |
PageFooter |
getPageFooter()
Returns the page footer. |
PageHeader |
getPageHeader()
Returns the page header. |
ReportProperties |
getProperties()
Returns the report properties. |
ReportConfiguration |
getReportConfiguration()
Returns the report configuration. |
ReportFooter |
getReportFooter()
Returns the report footer. |
ReportHeader |
getReportHeader()
Returns the report header. |
StyleSheetCollection |
getStyleSheetCollection()
Returns the stylesheet collection of this report definition. |
Watermark |
getWatermark()
Returns the watermark band. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReportDefinitionImpl(JFreeReport report) throws java.lang.CloneNotSupportedException
report
- the report.
java.lang.CloneNotSupportedException
- if there is a problem cloning.Method Detail |
public GroupList getGroups()
getGroups
in interface ReportDefinition
public ReportHeader getReportHeader()
getReportHeader
in interface ReportDefinition
public ReportFooter getReportFooter()
getReportFooter
in interface ReportDefinition
public PageHeader getPageHeader()
getPageHeader
in interface ReportDefinition
public PageFooter getPageFooter()
getPageFooter
in interface ReportDefinition
public ItemBand getItemBand()
getItemBand
in interface ReportDefinition
public ReportProperties getProperties()
getProperties
in interface ReportDefinition
public ReportConfiguration getReportConfiguration()
getReportConfiguration
in interface ReportDefinition
public int getGroupCount()
Every report has at least one group defined.
getGroupCount
in interface ReportDefinition
public Group getGroup(int count)
getGroup
in interface ReportDefinition
count
- the group index.
java.lang.IllegalArgumentException
- if the count is negative.
java.lang.IndexOutOfBoundsException
- if the count is greater than the number of defined groups.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- if the object's class does not
support the Cloneable
interface. Subclasses
that override the clone
method can also
throw this exception to indicate that an instance cannot
be cloned.Cloneable
public StyleSheetCollection getStyleSheetCollection()
getStyleSheetCollection
in interface ReportDefinition
public DataRowConnector getDataRowConnector()
public Watermark getWatermark()
getWatermark
in interface ReportDefinition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |