java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
javax.faces.component._ComponentChildrenList
- All Implemented Interfaces:
- java.util.Collection, java.lang.Iterable, java.util.List, java.io.Serializable
- class _ComponentChildrenList
- extends java.util.AbstractList
- implements java.io.Serializable
- Version:
- $Revision: 225333 $ $Date: 2005-07-26 11:49:19 -0400 (Tue, 26 Jul 2005) $
| Methods inherited from class java.util.AbstractList |
addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
_component
private UIComponent _component
_list
private java.util.List _list
_ComponentChildrenList
_ComponentChildrenList(UIComponent component)
get
public java.lang.Object get(int index)
- Description copied from class:
java.util.AbstractList
- Returns the elements at the specified position in the list.
- Specified by:
get in interface java.util.List
size
public int size()
- Description copied from interface:
java.util.List
- Get the number of elements in this list. If the list contains more
than Integer.MAX_VALUE elements, return Integer.MAX_VALUE.
- Specified by:
size in interface java.util.List
set
public java.lang.Object set(int index,
java.lang.Object value)
- Description copied from class:
java.util.AbstractList
- Replace an element of this list with another object (optional operation).
This implementation always throws an UnsupportedOperationException.
- Specified by:
set in interface java.util.List
add
public boolean add(java.lang.Object value)
- Description copied from class:
java.util.AbstractList
- Add an element to the end of the list (optional operation). If the list
imposes restraints on what can be inserted, such as no null elements,
this should be documented. This implementation calls
add(size(), o);, and will fail if that version does.
- Specified by:
add in interface java.util.List
add
public void add(int index,
java.lang.Object value)
- Description copied from class:
java.util.AbstractList
- Insert an element into the list at a given position (optional operation).
This shifts all existing elements from that position to the end one
index to the right. This version of add has no return, since it is
assumed to always succeed if there is no exception. This implementation
always throws UnsupportedOperationException, and must be overridden to
make a modifiable List. If you want fail-fast iterators, be sure to
increment modCount when overriding this.
- Specified by:
add in interface java.util.List
remove
public java.lang.Object remove(int index)
- Description copied from class:
java.util.AbstractList
- Remove the element at a given position in this list (optional operation).
Shifts all remaining elements to the left to fill the gap. This
implementation always throws an UnsupportedOperationException.
If you want fail-fast iterators, be sure to increment modCount when
overriding this.
- Specified by:
remove in interface java.util.List
setNewParent
private void setNewParent(UIComponent child)
checkValue
private void checkValue(java.lang.Object value)