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 |
ListTreeModel<T>
|
Modifier and Type | Method and Description |
---|---|
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> |
ListTreeModel.addChild(T data) |
TreeModel<T> |
TreeModel.addChildNode(TreeModel<T> child)
Adds the given child tree node to the current tree node.
|
TreeModel<T> |
ListTreeModel.addChildNode(TreeModel<T> child) |
TreeModel<T> |
TreeModel.getParent()
Returns the parent tree node of the current tree node.
|
TreeModel<T> |
ListTreeModel.getParent() |
TreeModel<T> |
TreeModel.remove()
Removes the current tree node from its parent, if any.
|
TreeModel<T> |
ListTreeModel.remove() |
Modifier and Type | Method and Description |
---|---|
List<TreeModel<T>> |
TreeModel.getChildren()
Returns an unmodifiable list of all child tree nodes of the current tree node.
|
List<TreeModel<T>> |
ListTreeModel.getChildren() |
Iterator<TreeModel<T>> |
TreeModel.iterator()
Returns an unmodifiable iterator over the children of the current tree node.
|
Iterator<TreeModel<T>> |
ListTreeModel.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> |
ListTreeModel.addChildNode(TreeModel<T> child) |