com.aspose.slides
Class CommentsEx

java.lang.Object
  extended by com.aspose.slides.CommentsEx
Direct Known Subclasses:
CommentExCollection

Deprecated.

@Deprecated
public class CommentsEx
extends java.lang.Object

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)
          Deprecated.  
 CommentEx get_Item(int index)
          Deprecated.  Gets the element at the specified index.
 int getCount()
          Deprecated.  Gets the number of elements actually contained in the collection.
 void insertComment(int index, java.lang.String text, SlideEx slide, java.awt.geom.Point2D.Float position, java.util.Date creationTime)
          Deprecated.  
 com.aspose.ms.System.Collections.IEnumerator<CommentEx> iterator()
          Deprecated.  Returns an enumerator for the entire collection.
 void remove(CommentEx comment)
          Deprecated.  Removes the first occurrence of the specified comment in a collection.
 void removeAt(int index)
          Deprecated.  Removes the element at the specified index in a collection.
 CommentEx[] toArray()
          Deprecated.  Creates and returns an array with all comments.
 CommentEx[] toArray(int startIndex, int count)
          Deprecated.  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

getCount

public int getCount()
Deprecated. 

Gets the number of elements actually contained in the collection. Read-only int.


get_Item

public CommentEx get_Item(int index)
Deprecated. 

Gets the element at the specified index. Read-only CommentEx.


addComment

public int addComment(java.lang.String text,
                      SlideEx slide,
                      java.awt.geom.Point2D.Float position,
                      java.util.Date creationTime)
Deprecated. 

insertComment

public void insertComment(int index,
                          java.lang.String text,
                          SlideEx slide,
                          java.awt.geom.Point2D.Float position,
                          java.util.Date creationTime)
Deprecated. 

toArray

public CommentEx[] toArray()
Deprecated. 

Creates and returns an array with all comments.

Returns:
Array of CommentEx.

toArray

public CommentEx[] toArray(int startIndex,
                           int count)
Deprecated. 

Creates and returns an array with all comments from the specified range.

Parameters:
startIndex - An index of a first comment to return.
count - A number of comments to return.
Returns:
Array of CommentEx.

removeAt

public void removeAt(int index)
Deprecated. 

Removes the element at the specified index in a collection.

Parameters:
index - The zero-based index of the element to remove.

remove

public void remove(CommentEx comment)
Deprecated. 

Removes the first occurrence of the specified comment in a collection.

Parameters:
comment - The comment to remove from a collection.

iterator

public com.aspose.ms.System.Collections.IEnumerator<CommentEx> iterator()
Deprecated. 

Returns an enumerator for the entire collection.

Returns:
An IEnumerator for the entire collection.