|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.collections.CollectionEx
com.spire.doc.documents.xml.DocumentSerializableCollection
com.spire.doc.collections.DocumentObjectCollection
public abstract class DocumentObjectCollection
Represents a collection of DLS entities.
Method Summary | |
---|---|
int |
add(IDocumentObject entity)
Adds the specified entity. |
void |
clear()
Removes all items |
boolean |
contains(IDocumentObject entity)
Determines whether a entity is in the collection. |
DocumentObject |
get(int index)
Gets the |
DocumentObject |
getFirstItem()
Gets the first item. |
DocumentObject |
getLastItem()
Gets the last item. |
int |
indexOf(IDocumentObject entity)
Returns the zero-based index of the specified entity. |
void |
insert(int index,
IDocumentObject entity)
Inserts a entity into the collection at the specified index. |
void |
remove(IDocumentObject entity)
Removes the document object from the collection. |
void |
removeAt(int index)
Removes the document object at the specified index from the collection. |
Methods inherited from class com.spire.doc.collections.CollectionEx |
---|
getCount, iterator |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Methods inherited from interface com.spire.doc.interfaces.ICollectionBase |
---|
getCount |
Methods inherited from interface com.spire.doc.interfaces.IXDLSSerializableCollection |
---|
addNewItem, getCount, getTagItemNameEx |
Method Detail |
---|
public DocumentObject get(int index)
index
-
public DocumentObject getFirstItem()
public DocumentObject getLastItem()
public int add(IDocumentObject entity)
entity
- the document object.
public void clear()
clear
in class CollectionEx
public boolean contains(IDocumentObject entity)
entity
- the document object.
public int indexOf(IDocumentObject entity)
entity
- the document object.
public void insert(int index, IDocumentObject entity)
index
- The index.entity
- the document object.public void remove(IDocumentObject entity)
entity
- the document object.public void removeAt(int index)
index
- The index.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |