|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ReportElementContainer
Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.
TheReportElementContainer interface is a container for ReportElements.
| Method Summary | |
|---|---|
ReportElement |
copyReportElement(ReportElement element)
Copies and adds a report element to this container. |
double |
getWidth()
Returns the width of this element. |
void |
move(int fromIndex,
int toIndex)
Change the position of a ReportElement in the ReportElementContainer. |
void |
removeAllChildren()
Removes any report elements from this container. |
void |
removeReportElement(ReportElement element)
Removes an element. |
void |
removeReportElementAt(int index)
Removes an element at a given index. |
| 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 |
| Method Detail |
|---|
ReportElement copyReportElement(ReportElement element)
element - the element to copy and add
java.lang.NullPointerException - when element is null
java.lang.IllegalArgumentException - when element cannot be added to this element
(for example, no ReportBody can be added to a Cell)void removeReportElement(ReportElement element)
element is not a direct child (or null),
the method call does nothing.
element - the child to removevoid removeReportElementAt(int index)
index - the index to remove the element at
java.lang.ArrayIndexOutOfBoundsException - if index is out of range
(index < 0 || index >= getReportElementCount())void removeAllChildren()
double getWidth()
-1 when there is no width available
void move(int fromIndex,
int toIndex)
fromIndex - the initial index of the report element to be movedtoIndex - the index to which the report element will be moved
java.lang.IndexOutOfBoundsException - if fromIndex or toIndex is out
of range (
fromIndex(toIndex) < 0 || fromIndex(toIndex) >= getReportElementCount())
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||