sdtlistitemcollection-ag凯发旗舰厅



com.spire.doc.documents
class sdtlistitemcollection

java.lang.object
  extended by com.spire.doc.documents.sdtlistitemcollection
all implemented interfaces:
java.lang.iterable

public class sdtlistitemcollection
extends java.lang.object
implements java.lang.iterable

provides access to sdtlistitem elements of a structured document tag.


method summary
 void add(sdtlistitem item)
          adds an item to this collection.
 void clear()
          clears all items from this collection.
 sdtlistitem get(int index)
          returns a sdtlistitem object given its zero-based index in the collection.
 int getcount()
          gets number of items in the collection.
 sdtlistitem getselectedvalue()
          specifies currently selected value in this list.
 java.util.iterator iterator()
          returns an iterator object that can be used to iterate over all items in the collection.
 void removeat(int index)
          removes a list item at the specified index.
 void setselectedvalue(sdtlistitem value)
           
 
method detail

iterator

public java.util.iterator iterator()
returns an iterator object that can be used to iterate over all items in the collection.
returns:
iterator

add

public void add(sdtlistitem item)
adds an item to this collection.
parameters:
item - sdtlistitem

removeat

public void removeat(int index)
removes a list item at the specified index.
parameters:
index - the zero-based index of the item to remove.

clear

public void clear()
clears all items from this collection.

getselectedvalue

public sdtlistitem getselectedvalue()
specifies currently selected value in this list. null value allowed, meaning that no currently selected entry is associated with this list item collection.
returns:
sdtlistitem

setselectedvalue

public void setselectedvalue(sdtlistitem value)

get

public sdtlistitem get(int index)
returns a sdtlistitem object given its zero-based index in the collection.
parameters:
index - int
returns:
sdtlistitem

getcount

public int getcount()
gets number of items in the collection.
returns:
int


网站地图