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(javax.faces.context.FacesContext context,
TreeModel currentModelNode)
Sets the current node of the tree model.
|
Modifier and Type | Class and Description |
---|---|
class |
ListTreeModel<T>
A concrete implementation of
TreeModel which holds the tree children in a List . |
Modifier and Type | Method and Description |
---|---|
TreeModel<T> |
TreeModel.addChild(T data)
Creates and adds a child tree node with the given data to the current tree node and return it.
|
TreeModel<T> |
ListTreeModel.addChild(T data) |
TreeModel<T> |
TreeModel.getParent()
Returns the parent tree node of the current tree node.
|
TreeModel<T> |
ListTreeModel.getParent() |
Modifier and Type | Method and Description |
---|---|
java.util.List<TreeModel<T>> |
TreeModel.getChildren()
Returns an unmodifiable list of all child tree nodes of the current tree node.
|
java.util.List<TreeModel<T>> |
ListTreeModel.getChildren() |
java.util.Iterator<TreeModel<T>> |
TreeModel.iterator()
Returns an unmodifiable iterator over the children of the current tree node.
|
java.util.Iterator<TreeModel<T>> |
ListTreeModel.iterator() |