public class DropDownItemCollection
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
Gets the number of elements contained in the collection.
|
||
java.lang.String | get(int index) | |
void | set(intindex, java.lang.Stringvalue) | |
Gets or sets the element at the specified index. |
Method Summary | ||
---|---|---|
boolean | add(java.lang.String s) | |
Adds a string to the end of the collection.
|
||
void | clear() | |
Removes all elements from the collection.
|
||
boolean | contains(java.lang.String value) | |
Determines whether the collection contains the specified value.
|
||
int | indexOf(java.lang.String value) | |
Returns the zero-based index of the specified value in the collection.
|
||
void | insert(int index, java.lang.String value) | |
Inserts a string into the collection at the specified index.
|
||
java.util.Iterator<java.lang.String> | iterator() | |
Returns an iterator object that can be used to iterate over all items in the collection.
|
||
void | remove(java.lang.String name) | |
Removes the specified value from the collection.
|
||
void | removeAt(int index) | |
Removes a value at the specified index.
|
public int getCount()
public java.lang.String get(int index) / public void set(int index, java.lang.String value)
public boolean add(java.lang.String s)
value
- The string to add to the end of the collection.public void clear()
public boolean contains(java.lang.String value)
value
- Case-sensitive value to locate.public int indexOf(java.lang.String value)
value
- The case-sensitive value to locate.public void insert(int index, java.lang.String value)
index
- The zero-based index at which value is inserted.value
- The string to insert.public java.util.Iterator<java.lang.String> iterator()
public void remove(java.lang.String name)
name
- The case-sensitive value to remove.public void removeAt(int index)
index
- The zero based index.