|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Comments
com.aspose.slides.CommentCollection
public final class CommentCollection
Represents a collection of slide comments.
Method Summary | |
---|---|
Comment |
addComment(CommentAuthor author,
java.lang.String initials,
java.lang.String text,
java.util.Date time,
java.awt.Point anchor)
|
void |
clear()
Removes all coomments from the slide. |
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies all elements from the collection to the specified array. |
Comment |
get_Item(int index)
Returns the slide comment at the specified index. |
int |
getCount()
Returns the number of slide comments actually contained in the collection. |
java.lang.Object |
getSyncRoot()
Returns a synchronization root. |
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). |
com.aspose.ms.System.Collections.IEnumerator<Comment> |
iterator()
Returns an enumerator for the entire collection. |
void |
remove(Comment comment)
Removes the first occurrence of the specified comment in a collection. |
void |
removeAt(int index)
Removes the element at the specified index in a collection. |
int |
size()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void copyTo(com.aspose.ms.System.Array array, int index)
Copies all elements from the collection to the specified array.
copyTo
in interface com.aspose.ms.System.Collections.ICollection<Comment>
array
- Target array.index
- Starting index in the target array.public boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection<Comment>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Readonly object
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection<Comment>
public int size()
size
in interface com.aspose.ms.System.Collections.ICollection<Comment>
public int getCount()
Comments
Returns the number of slide comments actually contained in the collection.
Read-only int
.
getCount
in class Comments
public Comment get_Item(int index)
Comments
Returns the slide comment at the specified index.
get_Item
in class Comments
public Comment addComment(CommentAuthor author, java.lang.String initials, java.lang.String text, java.util.Date time, java.awt.Point anchor)
addComment
in class Comments
public void removeAt(int index)
Comments
Removes the element at the specified index in a collection.
removeAt
in class Comments
index
- The zero-based index of the element to remove.public void remove(Comment comment)
Comments
Removes the first occurrence of the specified comment in a collection.
remove
in class Comments
comment
- The comment to remove from a collection.public void clear()
Comments
Removes all coomments from the slide.
clear
in class Comments
public com.aspose.ms.System.Collections.IEnumerator<Comment> iterator()
Comments
Returns an enumerator for the entire collection.
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<Comment>
iterator
in interface java.lang.Iterable<Comment>
iterator
in class Comments
IEnumerator
for the entire collection.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |