|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.CommentsEx
com.aspose.slides.CommentExCollection
public final class CommentExCollection
Represents a collection of comments of one author.
Method Summary | |
---|---|
int |
addComment(java.lang.String text,
SlideEx slide,
java.awt.geom.Point2D.Float position,
java.util.Date creationTime)
|
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies all elements from the collection to the specified array. |
CommentEx |
get_Item(int index)
Gets the element at the specified index. |
int |
getCount()
Gets the number of elements actually contained in the collection. |
java.lang.Object |
getSyncRoot()
Returns a synchronization root. |
void |
insertComment(int index,
java.lang.String text,
SlideEx slide,
java.awt.geom.Point2D.Float position,
java.util.Date creationTime)
|
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). |
com.aspose.ms.System.Collections.IEnumerator<CommentEx> |
iterator()
Returns an enumerator for the entire collection. |
void |
remove(CommentEx 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()
|
CommentEx[] |
toArray()
Creates and returns an array with all comments. |
CommentEx[] |
toArray(int startIndex,
int count)
Creates and returns an array with all comments from the specified range. |
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<CommentEx>
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<CommentEx>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Readonly object
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection<CommentEx>
public int size()
size
in interface com.aspose.ms.System.Collections.ICollection<CommentEx>
public int getCount()
CommentsEx
Gets the number of elements actually contained in the collection.
Read-only int
.
getCount
in class CommentsEx
public CommentEx get_Item(int index)
CommentsEx
Gets the element at the specified index.
Read-only CommentEx
.
get_Item
in class CommentsEx
public int addComment(java.lang.String text, SlideEx slide, java.awt.geom.Point2D.Float position, java.util.Date creationTime)
addComment
in class CommentsEx
public void insertComment(int index, java.lang.String text, SlideEx slide, java.awt.geom.Point2D.Float position, java.util.Date creationTime)
insertComment
in class CommentsEx
public CommentEx[] toArray()
CommentsEx
Creates and returns an array with all comments.
toArray
in class CommentsEx
CommentEx
.public CommentEx[] toArray(int startIndex, int count)
CommentsEx
Creates and returns an array with all comments from the specified range.
toArray
in class CommentsEx
startIndex
- An index of a first comment to return.count
- A number of comments to return.
CommentEx
.public void removeAt(int index)
CommentsEx
Removes the element at the specified index in a collection.
removeAt
in class CommentsEx
index
- The zero-based index of the element to remove.public void remove(CommentEx comment)
CommentsEx
Removes the first occurrence of the specified comment in a collection.
remove
in class CommentsEx
comment
- The comment to remove from a collection.public com.aspose.ms.System.Collections.IEnumerator<CommentEx> iterator()
CommentsEx
Returns an enumerator for the entire collection.
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<CommentEx>
iterator
in interface java.lang.Iterable<CommentEx>
iterator
in class CommentsEx
IEnumerator
for the entire collection.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |