Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.faces.component
Class _ComponentChildrenList  view _ComponentChildrenList download _ComponentChildrenList.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjavax.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) $

Nested Class Summary
 
Nested classes inherited from class java.util.AbstractList
 
Field Summary
private  UIComponent _component
           
private  java.util.List _list
           
private static long serialVersionUID
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
(package private) _ComponentChildrenList(UIComponent component)
           
 
Method Summary
 void add(int index, java.lang.Object value)
          Insert an element into the list at a given position (optional operation).
 boolean add(java.lang.Object value)
          Add an element to the end of the list (optional operation).
private  void checkValue(java.lang.Object value)
           
 java.lang.Object get(int index)
          Returns the elements at the specified position in the list.
 java.lang.Object remove(int index)
          Remove the element at a given position in this list (optional operation).
 java.lang.Object set(int index, java.lang.Object value)
          Replace an element of this list with another object (optional operation).
private  void setNewParent(UIComponent child)
           
 int size()
          Get the number of elements in this list.
 
Methods inherited from class java.util.AbstractList
addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

_component

private UIComponent _component

_list

private java.util.List _list
Constructor Detail

_ComponentChildrenList

_ComponentChildrenList(UIComponent component)
Method Detail

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)