|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReportContainer
Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.
ReportContainer
interface represents a single report.
DocumentInstance.createReport(String)
Method Summary | |
---|---|
ReportElement |
copyReportElement(ReportElement element)
Replaces current header / body / footer with something else. |
PageHeaderFooter |
createPageFooter()
Creates a new page footer. |
PageHeaderFooter |
createPageHeader()
Creates a new page header. |
ReportBody |
createReportBody()
Creates a new body. |
java.awt.Color |
getHyperlinkColor()
Returns the color used for any hyperlinks in this report. |
java.lang.String |
getName()
Returns the report name. |
PageHeaderFooter |
getPageFooter()
Gets the page footer, when there is one. |
PageHeaderFooter |
getPageHeader()
Gets the page header, when there is one. |
PageInfo |
getPageInfo()
Returns an object holding information on the page size and margins for this report. |
ReportBody |
getReportBody()
Gets the page body. |
java.lang.String |
getSourceName()
Returns the report name in the locale it was created. |
java.awt.Color |
getVisitedHyperlinkColor()
Returns the color used for any visited hyperlinks in this report. |
void |
removeAllChildren()
Removes all children except for the body; all the body's children are removed though. |
void |
removeReportElement(ReportElement element)
Removes only the current header / footer. |
void |
removeReportElementAt(int index)
Removes only the current header / footer. |
void |
setHyperlinkColor(java.awt.Color c)
Changes the color used for any hyperlinks in this report. |
void |
setName(java.lang.String name)
Changes the report name. |
void |
setVisitedHyperlinkColor(java.awt.Color c)
Changes the color used for any visited hyperlinks in this report. |
Methods inherited from interface com.businessobjects.rebean.wi.ReportElementContainer |
---|
getWidth, move |
Methods inherited from interface com.businessobjects.rebean.wi.ReportElement |
---|
getFather, getID, getReportElement, getReportElement, getReportElementCount |
Methods inherited from interface com.businessobjects.rebean.wi.TreeNode |
---|
getChildAt, getChildCount, getIndex, getParent, isLeaf |
Methods inherited from interface com.businessobjects.rebean.wi.Unit |
---|
getUnit, setUnit |
Methods inherited from interface com.businessobjects.rebean.wi.Filterable |
---|
copyFilter, createFilter, getFilter, hasFilter, removeFilter |
Method Detail |
---|
PageHeaderFooter createPageHeader()
PageHeaderFooter getPageHeader()
TreeNode.getChildAt(int)
.
null
when there is no page headerPageHeaderFooter createPageFooter()
PageHeaderFooter getPageFooter()
TreeNode.getChildAt(int)
.
null
when there is no page footerReportBody createReportBody()
ReportBody getReportBody()
TreeNode.getChildAt(int)
.
java.lang.String getName()
java.lang.String getSourceName()
void setName(java.lang.String name)
name
- the new report namePageInfo getPageInfo()
ReportElement copyReportElement(ReportElement element)
element
.
copyReportElement
in interface ReportElementContainer
element
- the element to copy and add
ReportElementContainer.copyReportElement(ReportElement)
void removeReportElement(ReportElement element)
removeReportElement
in interface ReportElementContainer
element
- the child to removeReportElementContainer.removeReportElement(ReportElement)
void removeReportElementAt(int index)
removeReportElementAt
in interface ReportElementContainer
index
- the index to remove the element atReportElementContainer.removeReportElementAt(int)
void removeAllChildren()
removeAllChildren
in interface ReportElementContainer
ReportElementContainer.removeAllChildren()
java.awt.Color getHyperlinkColor()
void setHyperlinkColor(java.awt.Color c)
c
- the new hyperlink color for this reportjava.awt.Color getVisitedHyperlinkColor()
void setVisitedHyperlinkColor(java.awt.Color c)
c
- the new visited hyperlink color for this report
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |