Package org.primefaces.model
Class CheckboxTreeNodeChildren
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<TreeNode>
-
- org.primefaces.model.TreeNodeList
-
- org.primefaces.model.CheckboxTreeNodeChildren
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<TreeNode>
,Collection<TreeNode>
,List<TreeNode>
,RandomAccess
public class CheckboxTreeNodeChildren extends TreeNodeList
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description CheckboxTreeNodeChildren(TreeNode parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, TreeNode node)
boolean
add(TreeNode node)
boolean
addAll(int index, Collection<? extends TreeNode> collection)
boolean
addAll(Collection<? extends TreeNode> collection)
TreeNode
remove(int index)
boolean
remove(Object object)
TreeNode
set(int index, TreeNode node)
TreeNode
setSibling(int index, TreeNode node)
Optimized set implementation to be used in sorting-
Methods inherited from class java.util.ArrayList
clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeAll, removeIf, removeRange, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractCollection
containsAll, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
containsAll
-
-
-
-
Constructor Detail
-
CheckboxTreeNodeChildren
public CheckboxTreeNodeChildren(TreeNode parent)
-
-
Method Detail
-
add
public boolean add(TreeNode node)
-
add
public void add(int index, TreeNode node)
-
addAll
public boolean addAll(Collection<? extends TreeNode> collection)
-
addAll
public boolean addAll(int index, Collection<? extends TreeNode> collection)
-
setSibling
public TreeNode setSibling(int index, TreeNode node)
Optimized set implementation to be used in sorting- Overrides:
setSibling
in classTreeNodeList
- Parameters:
index
- index of the element to replacenode
- node to be stored at the specified position- Returns:
- the node previously at the specified position
-
remove
public TreeNode remove(int index)
-
-