|
|||||||||
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 at the specified index. |
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)
documentobject
at the specified index.
get
in interface idocumentobjectcollection
index
- the specified 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 |