|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.pptx.CommentsEx
public final class CommentsEx
Represents a collection of comments of one author.
Method Summary | |
---|---|
boolean |
addComment(java.lang.String text,
SlideEx slide,
java.awt.geom.Point2D.Float position,
java.util.Date creationTime)
Add new comment at the end of a collection. |
void |
clear()
Removes all comments from a slide. |
CommentEx |
get(int index)
|
java.util.Iterator<CommentEx> |
getIterator()
|
int |
getSize()
|
void |
insertComment(int index,
java.lang.String text,
SlideEx slide,
java.awt.geom.Point2D.Float position,
java.util.Date creationTime)
Insert new comment to a collection at the specified index. |
void |
remove(CommentEx comment)
Removes the first occurrence of the specified comment in a collection. |
void |
remove(int index)
Removes the element at the specified index in a collection. |
CommentEx[] |
toArray()
|
CommentEx[] |
toArray(int startIndex,
int count)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getSize()
public CommentEx get(int index)
index
-
public boolean addComment(java.lang.String text, SlideEx slide, java.awt.geom.Point2D.Float position, java.util.Date creationTime)
text
- Plain text of a new comment.slide
- Slide in a presentation where to add a new comment.position
- Position on a slide where to add a new comment.creationTime
- Time of a comment creation.
public void insertComment(int index, java.lang.String text, SlideEx slide, java.awt.geom.Point2D.Float position, java.util.Date creationTime)
index
- Index of the element in a collection at which comment should
be inserted.text
- Plain text of a new comment.slide
- Slide in a presentation where to add a new comment.position
- Position on a slide where to add a new comment.creationTime
- Time of a comment creation.public CommentEx[] toArray()
public CommentEx[] toArray(int startIndex, int count)
startIndex
- An index of a first comment to return.count
- A number of comments to return.
public void remove(int index)
index
- The zero-based index of the element to remove.public void remove(CommentEx comment)
comment
- The comment to remove from a collection.public java.util.Iterator<CommentEx> getIterator()
public void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |