@Deprecated
public interface ElementList<T>
extends java.lang.Iterable<T>
| Modifier and Type | Method and Description | 
|---|---|
void | 
add(int index, T element)
Deprecated.  
Adds the specified object before the specified index. 
 | 
void | 
add(T element)
Deprecated.  
Adds the specified object to the end of the list. 
 | 
void | 
addElementListListener(ElementListListener listener)
Deprecated.  
Adds the specified listener to receive events when changes are made to this ElementList instance through ElementList methods. 
 | 
void | 
clear()
Deprecated.  
Removes all elements from the ElementList. 
 | 
T | 
createElement()
Deprecated.  
For a uniform ElementList, in which all the elements are of the same type, this method returns a new object of that type. 
 | 
java.lang.Class | 
elementType()
Deprecated.  
If the ElementList represents a single type of element, that type is returned from this method. 
 | 
java.lang.Object | 
get(int index)
Deprecated.  
  | 
boolean | 
isEmpty()
Deprecated.  
  | 
java.util.Iterator<T> | 
iterator()
Deprecated.  
  | 
T | 
remove(int index)
Deprecated.  
Removes the object at the specified index. 
 | 
void | 
removeElementListListener(ElementListListener listener)
Deprecated.  
Removes the specified ElementListListener so that it no longer receives events for changes to this ElementList. 
 | 
T | 
set(int index, java.lang.Object element)
Deprecated.  
Replaces the object at the specified index with the specified object. 
 | 
int | 
size()
Deprecated.  
Returns the number of items in the ElementList. 
 | 
void add(int index,
       T element)
java.lang.ClassCastException - if the object type doesn't match the type required by the ElementList instance.void add(T element)
java.lang.ClassCastException - if the object type doesn't match the type required by the ElementList instance.void addElementListListener(ElementListListener listener)
void clear()
T createElement()
java.lang.IllegalStateException - if the ElementList contains a mixture elements with different names.java.lang.Class elementType()
java.lang.Object get(int index)
java.lang.IndexOutOfBoundsException - if the specified index is invalid.boolean isEmpty()
java.util.Iterator<T> iterator()
iterator in interface java.lang.Iterable<T>T remove(int index)
java.lang.IndexOutOfBoundsException - if the specified index is invalid.void removeElementListListener(ElementListListener listener)
T set(int index, java.lang.Object element)
java.lang.IndexOutOfBoundsException - if the specified index is invalid.int size()