-
-
Method Summary
Modifier and Type |
Method |
Description |
void |
addAll(int index,
Collection<? extends E> c) |
Adds all of the elements present in the collection, starting
from the specified index.
|
void |
addAll(Collection<? extends E> c) |
Adds all of the elements present in the collection.
|
int |
getIndexOf(Object anObject) |
Returns the index-position of the specified object in the list.
|
void |
removeAllElements() |
Empties the list.
|
void |
setSelectedItem(Object anObject) |
Set the value of the selected item.
|
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
addAll
public void addAll(int index,
Collection<? extends E> c)
Adds all of the elements present in the collection, starting
from the specified index.
- Parameters:
index
- index at which to insert the first element from the
specified collection
c
- the collection which contains the elements to add
- Throws:
ArrayIndexOutOfBoundsException
- if index
does not
fall within the range of number of elements currently held
NullPointerException
- if c
is null