Uses of Interface
org.omnifaces.model.tree.TreeModel
-
Packages that use TreeModel Package Description org.omnifaces.component.tree org.omnifaces.model.tree -
-
Uses of TreeModel in org.omnifaces.component.tree
Methods in org.omnifaces.component.tree that return TreeModel Modifier and Type Method Description protected TreeModel
Tree. getCurrentModelNode()
Returns the current node of the tree model.Methods in org.omnifaces.component.tree with parameters of type TreeModel Modifier and Type Method Description protected void
Tree. setCurrentModelNode(FacesContext context, TreeModel currentModelNode)
Sets the current node of the tree model. -
Uses of TreeModel in org.omnifaces.model.tree
Classes in org.omnifaces.model.tree that implement TreeModel Modifier and Type Class Description class
AbstractTreeModel<T>
A base implementation ofTreeModel
.class
ListTreeModel<T>
class
SortedTreeModel<T>
Methods in org.omnifaces.model.tree that return TreeModel Modifier and Type Method Description TreeModel<T>
AbstractTreeModel. addChild(T data)
TreeModel<T>
SortedTreeModel. addChild(T data)
An override which throwsIllegalArgumentException
when given data is notnull
and not an instance ofComparable
.TreeModel<T>
TreeModel. addChild(T data)
Creates and adds a child tree node with the given wrapped data to the current tree node.TreeModel<T>
AbstractTreeModel. addChildNode(TreeModel<T> child)
TreeModel<T>
TreeModel. addChildNode(TreeModel<T> child)
Adds the given child tree node to the current tree node.TreeModel<T>
AbstractTreeModel. getNextSibling()
TreeModel<T>
TreeModel. getNextSibling()
Returns the next tree node sibling of the current tree node.TreeModel<T>
AbstractTreeModel. getParent()
TreeModel<T>
TreeModel. getParent()
Returns the parent tree node of the current tree node.TreeModel<T>
AbstractTreeModel. getPreviousSibling()
TreeModel<T>
TreeModel. getPreviousSibling()
Returns the previous tree node sibling of the current tree node.TreeModel<T>
AbstractTreeModel. remove()
TreeModel<T>
TreeModel. remove()
Removes the current tree node from its parent, if any.Methods in org.omnifaces.model.tree that return types with arguments of type TreeModel Modifier and Type Method Description protected abstract Collection<TreeModel<T>>
AbstractTreeModel. createChildren()
Returns a concrete (and usually empty)Collection
instance which should hold the tree's children.protected Collection<TreeModel<T>>
ListTreeModel. createChildren()
Returns a newArrayList
.protected Collection<TreeModel<T>>
SortedTreeModel. createChildren()
Returns a newTreeSet
.List<TreeModel<T>>
AbstractTreeModel. getChildren()
List<TreeModel<T>>
TreeModel. getChildren()
Returns an unmodifiable list of all child tree nodes of the current tree node.Iterator<TreeModel<T>>
AbstractTreeModel. iterator()
Iterator<TreeModel<T>>
TreeModel. iterator()
Returns an unmodifiable iterator over the children of the current tree node.Methods in org.omnifaces.model.tree with parameters of type TreeModel Modifier and Type Method Description TreeModel<T>
AbstractTreeModel. addChildNode(TreeModel<T> child)
TreeModel<T>
TreeModel. addChildNode(TreeModel<T> child)
Adds the given child tree node to the current tree node.
-