Interface IItemList<T>
- All Superinterfaces:
IItemCollection<T>,Iterable<T>
- All Known Subinterfaces:
IDropDownItemList,IListBoxItemList
Holds the list of items that constitute the content of an
ISelector.-
Method Summary
Modifier and TypeMethodDescriptionget(int index) Gets the item at the given zero-based index.intReturns the index in this collection where the specified item is located.voidInserts an element into the collection at the specified index.voidremoveAt(int index) Removes the element at the specified index of the collection.voidSets the item at the given zero-based index.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
Gets the item at the given zero-based index.- Parameters:
index- The zero-based index of the item.- Returns:
- The object retrieved.
-
set
Sets the item at the given zero-based index.- Parameters:
index- The zero-based index of the item.value- The object is being set to the specified index.
-
indexOf
Returns the index in this collection where the specified item is located.- Parameters:
item- The object to look for in the collection.- Returns:
- The index of the item in the collection, or -1 if the item does not exist in the collection.
-
insert
Inserts an element into the collection at the specified index.- Parameters:
index- The zero-based index at which to insert the item.item- The item to insert.
-
removeAt
void removeAt(int index) Removes the element at the specified index of the collection.- Parameters:
index- The zero-based index of the element to remove.
-