Uses of Interface
org.omnifaces.model.tree.TreeModel
Packages that use TreeModel
-
Uses of TreeModel in org.omnifaces.component.tree
Methods in org.omnifaces.component.tree that return TreeModelModifier and TypeMethodDescriptionprotected TreeModelTree.getCurrentModelNode()Returns the current node of the tree model.Methods in org.omnifaces.component.tree with parameters of type TreeModelModifier and TypeMethodDescriptionprotected voidTree.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 TreeModelMethods in org.omnifaces.model.tree that return TreeModelModifier and TypeMethodDescriptionAn override which throwsIllegalArgumentExceptionwhen given data is notnulland not an instance ofComparable.Creates and adds a child tree node with the given wrapped data to the current tree node.AbstractTreeModel.addChildNode(TreeModel<T> child) TreeModel.addChildNode(TreeModel<T> child) Adds the given child tree node to the current tree node.AbstractTreeModel.getNextSibling()TreeModel.getNextSibling()Returns the next tree node sibling of the current tree node.AbstractTreeModel.getParent()TreeModel.getParent()Returns the parent tree node of the current tree node.AbstractTreeModel.getPreviousSibling()TreeModel.getPreviousSibling()Returns the previous tree node sibling of the current tree node.AbstractTreeModel.remove()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 TreeModelModifier and TypeMethodDescriptionprotected abstract Collection<TreeModel<T>>AbstractTreeModel.createChildren()Returns a concrete (and usually empty)Collectioninstance 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.AbstractTreeModel.getChildren()TreeModel.getChildren()Returns an unmodifiable list of all child tree nodes of the current tree node.AbstractTreeModel.iterator()TreeModel.iterator()Returns an unmodifiable iterator over the children of the current tree node.Methods in org.omnifaces.model.tree with parameters of type TreeModelModifier and TypeMethodDescriptionAbstractTreeModel.addChildNode(TreeModel<T> child) TreeModel.addChildNode(TreeModel<T> child) Adds the given child tree node to the current tree node.