Package | Description |
---|---|
org.omnifaces.component.tree | |
org.omnifaces.model.tree |
Modifier and Type | Method and Description |
---|---|
protected TreeModel |
Tree.getCurrentModelNode()
Returns the current node of the tree model.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Tree.setCurrentModelNode(FacesContext context,
TreeModel currentModelNode)
Sets the current node of the tree model.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTreeModel<T>
A base implementation of
TreeModel . |
class |
ListTreeModel<T>
|
class |
SortedTreeModel<T>
|
Modifier and Type | Method and Description |
---|---|
TreeModel<T> |
SortedTreeModel.addChild(T data)
An override which throws
IllegalArgumentException when given data is not null
and not an instance of Comparable . |
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.addChild(T data) |
TreeModel<T> |
TreeModel.addChildNode(TreeModel<T> child)
Adds the given child tree node to the current tree node.
|
TreeModel<T> |
AbstractTreeModel.addChildNode(TreeModel<T> child) |
TreeModel<T> |
TreeModel.getNextSibling()
Returns the next tree node sibling of the current tree node.
|
TreeModel<T> |
AbstractTreeModel.getNextSibling() |
TreeModel<T> |
TreeModel.getParent()
Returns the parent tree node of the current tree node.
|
TreeModel<T> |
AbstractTreeModel.getParent() |
TreeModel<T> |
TreeModel.getPreviousSibling()
Returns the previous tree node sibling of the current tree node.
|
TreeModel<T> |
AbstractTreeModel.getPreviousSibling() |
TreeModel<T> |
TreeModel.remove()
Removes the current tree node from its parent, if any.
|
TreeModel<T> |
AbstractTreeModel.remove() |
Modifier and Type | Method and Description |
---|---|
protected Collection<TreeModel<T>> |
SortedTreeModel.createChildren()
Returns a new
TreeSet . |
protected Collection<TreeModel<T>> |
ListTreeModel.createChildren()
Returns a new
ArrayList . |
protected abstract Collection<TreeModel<T>> |
AbstractTreeModel.createChildren()
Returns a concrete (and usually empty)
Collection instance which should hold the tree's children. |
List<TreeModel<T>> |
TreeModel.getChildren()
Returns an unmodifiable list of all child tree nodes of the current tree node.
|
List<TreeModel<T>> |
AbstractTreeModel.getChildren() |
Iterator<TreeModel<T>> |
TreeModel.iterator()
Returns an unmodifiable iterator over the children of the current tree node.
|
Iterator<TreeModel<T>> |
AbstractTreeModel.iterator() |
Modifier and Type | Method and Description |
---|---|
TreeModel<T> |
TreeModel.addChildNode(TreeModel<T> child)
Adds the given child tree node to the current tree node.
|
TreeModel<T> |
AbstractTreeModel.addChildNode(TreeModel<T> child) |
Copyright © 2012–2020 OmniFaces. All rights reserved.