commentauthorlist-ag凯发旗舰厅



com.spire.presentation.collections
class commentauthorlist

java.lang.object
  extended by com.spire.presentation.collections.commentauthorlist
direct known subclasses:
commentauthorcollection

public class commentauthorlist
extends java.lang.object

represents a collection of comment authors.


constructor summary
commentauthorlist( presentation)
           
 
method summary
 icommentauthor addauthor(java.lang.string name, java.lang.string initials)
          add new author at the end of a collection.
 icommentauthor[] findbyname(java.lang.string name)
          find author in a collection by name.
 icommentauthor[] findbynameandinitials(java.lang.string name, java.lang.string initials)
          find author in a collection by name and initials
 icommentauthor get(int index)
          gets the element at the specified index.
 int getcount()
          gets the number of elements actually contained in the collection.
 presentation getpresentation()
          returns parent object for a shapes collection.
 icommentauthor[] toarray()
          creates and returns an array with all authors.
 
constructor detail

commentauthorlist

public commentauthorlist( presentation)
method detail

getcount

public int getcount()
gets the number of elements actually contained in the collection. read-only .
returns:

get

public icommentauthor get(int index)
gets the element at the specified index. read-only .
parameters:
index -
returns:

addauthor

public icommentauthor addauthor(java.lang.string name,
                                java.lang.string initials)
add new author at the end of a collection.
parameters:
name -
initials -
returns:
throws:
java.lang.exception

toarray

public icommentauthor[] toarray()
creates and returns an array with all authors.
returns:
array of

findbyname

public icommentauthor[] findbyname(java.lang.string name)
find author in a collection by name.
parameters:
name - name of an author to find.
returns:

findbynameandinitials

public icommentauthor[] findbynameandinitials(java.lang.string name,
                                              java.lang.string initials)
find author in a collection by name and initials
parameters:
name - name of an author to find.
initials - initials of an author to find.
returns:

getpresentation

public presentation getpresentation()
returns parent object for a shapes collection. read-only .
returns:


网站地图