Interface IItemList<T>
- All Superinterfaces:
IItemCollection<T>,Iterable<T>
- All Known Subinterfaces:
IDropDownItemList,IListBoxItemList
保存构成
ISelector内容的项目列表。-
Method Summary
Methods inherited from interface com.grapecity.documents.excel.forms.IItemCollection
add, clear, contains, getCount, removeMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
get
获取给定基于零的索引处的项。- Parameters:
index- 项的基于零的索引。- Returns:
- 被检索的对象。
-
set
设置给定的从零开始的索引处的项。- Parameters:
index- 索引值从0开始。value- 要设置到指定索引处的对象。
-
indexOf
返回指定项在该集合中的索引。- Parameters:
item- 要在集合中查找的对象。- Returns:
- 项在集合中的索引,如果项不存在于集合中则返回 -1。
-
insert
在指定的索引处向集合插入一个元素。- Parameters:
index- 要插入项的索引值从0开始。@param item 要插入的项。
-
removeAt
void removeAt(int index) 移除集合中指定索引的元素。- Parameters:
index- 要移除的元素的基于零的索引。
-