java.lang.Object
org.omnifaces.model.tree.AbstractTreeModel<T>
org.omnifaces.model.tree.ListTreeModel<T>
- Type Parameters:
T- The type of the wrapped data of the tree node.
- All Implemented Interfaces:
Serializable,Iterable<TreeModel<T>>,TreeModel<T>
- Author:
- Bauke Scholtz
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.omnifaces.model.tree.AbstractTreeModel
addChild, addChildNode, equals, getChildCount, getChildren, getData, getIndex, getLevel, getNextSibling, getParent, getPreviousSibling, hashCode, isFirst, isLast, isLeaf, isRoot, iterator, remove, setData, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ListTreeModel
public ListTreeModel()
-
-
Method Details
-
createChildren
Returns a newArrayList.- Specified by:
createChildrenin classAbstractTreeModel<T>- Returns:
- A concrete (and usually empty)
Collectioninstance which should hold the tree's children.
-