|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Comments
public class Comments
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)
Add new comment to a slide. |
void |
clear()
Removes all comments from a slide. |
Comment |
get(int index)
Returns the slide comment at the specified index. |
java.util.Iterator |
iterator()
Returns an iterator for the entire collection. |
void |
remove(Comment 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. |
int |
size()
Returns the number of slide comments actually contained in the collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int size()
public Comment get(int index)
public Comment addComment(CommentAuthor author, java.lang.String initials, java.lang.String text, java.util.Date time, java.awt.Point anchor)
author
- Author who created the slide comment.initials
- Initials of an author who created the slide comment.text
- Text of the slide comment.time
- Date and time of the slide comment creation.anchor
- Point on a slide where comment should be placed.
public void remove(int index)
public void remove(Comment comment)
public void clear()
public java.util.Iterator iterator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |