org.zkoss.zul
Class DefaultTreeNode.TreeNodeChildrenList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<TreeNode<E>>
          extended by org.zkoss.zul.DefaultTreeNode.TreeNodeChildrenList
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable<TreeNode<E>>, java.util.Collection<TreeNode<E>>, java.util.List<TreeNode<E>>
Enclosing class:
DefaultTreeNode<E>

protected class DefaultTreeNode.TreeNodeChildrenList
extends java.util.AbstractList<TreeNode<E>>
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  java.util.ArrayList<TreeNode<E>> _list
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
protected DefaultTreeNode.TreeNodeChildrenList()
           
 
Method Summary
 void add(int index, TreeNode<E> child)
           
 TreeNode<E> get(int index)
           
 TreeNode<E> remove(int index)
           
 boolean remove(java.lang.Object child)
           
 int size()
           
 
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, 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, removeAll, retainAll, toArray, toArray
 

Field Detail

_list

protected final java.util.ArrayList<TreeNode<E>> _list
Constructor Detail

DefaultTreeNode.TreeNodeChildrenList

protected DefaultTreeNode.TreeNodeChildrenList()
Method Detail

get

public TreeNode<E> get(int index)
Specified by:
get in interface java.util.List<TreeNode<E>>
Specified by:
get in class java.util.AbstractList<TreeNode<E>>

size

public int size()
Specified by:
size in interface java.util.Collection<TreeNode<E>>
Specified by:
size in interface java.util.List<TreeNode<E>>
Specified by:
size in class java.util.AbstractCollection<TreeNode<E>>

add

public void add(int index,
                TreeNode<E> child)
Specified by:
add in interface java.util.List<TreeNode<E>>
Overrides:
add in class java.util.AbstractList<TreeNode<E>>

remove

public TreeNode<E> remove(int index)
Specified by:
remove in interface java.util.List<TreeNode<E>>
Overrides:
remove in class java.util.AbstractList<TreeNode<E>>

remove

public boolean remove(java.lang.Object child)
Specified by:
remove in interface java.util.Collection<TreeNode<E>>
Specified by:
remove in interface java.util.List<TreeNode<E>>
Overrides:
remove in class java.util.AbstractCollection<TreeNode<E>>


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo