|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.cete.dynamicpdf.PageElement
|
+--com.cete.dynamicpdf.pageelements.Group
This class can be used to collect many page elements together and add them to the page all at once. Every page element that you add to the group will be added to the page when the group is added to the page.
View Example
| Constructor Summary | |
Group()
Initializes a new instance of the Group class. |
|
| Method Summary | |
void |
add(PageElement pageElement)
Adds a page element to the group. |
void |
draw(PageWriter writer)
Draws the group to the given PageWriter object. |
int |
getCount()
Gets the number of page elements in the group. |
java.util.Iterator |
getEnumerator()
Returns an enumerator that can iterate through the Group. |
PageElement |
getPageElement(int index)
Gets the PageElement object at the given index. |
PageElement |
getPageElement(java.lang.String id)
Gets the PageElement object with the given ID. |
PageElement |
getPageElementByID(java.lang.String id)
Returns a page element with the given ID. |
void |
insert(int index,
PageElement pageElement)
Inserts a page element to the group. |
| Methods inherited from class com.cete.dynamicpdf.PageElement |
getRequiredLicenseLevel, getStrID, setRequiredLicenseLevel, setStrID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Group()
Group class.
Group| Method Detail |
public PageElement getPageElement(java.lang.String id)
PageElement object with the given ID.
PageElementpublic PageElement getPageElement(int index)
PageElement object at the given index.
PageElementpublic int getCount()
public void draw(PageWriter writer)
PageWriter object.
draw in class PageElementwriter - PageWriter object to receive the group's output.PageWriter
public void insert(int index,
PageElement pageElement)
index - The Zero-based index it which the page element should be inserted.pageElement - PageElement object to insert in the group.PageElementpublic void add(PageElement pageElement)
pageElement - PageElement object to add to the group.PageElementpublic java.util.Iterator getEnumerator()
Group.
Grouppublic PageElement getPageElementByID(java.lang.String id)
getPageElementByID in interface IPageElementContainerid - ID of the page element to find.
PageElement with the given ID.PageElement
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||