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> |
AbstractTreeModel.addChild(T data) |
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.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.
|
Modifier and Type | Method and 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>> |
SortedTreeModel.createChildren()
Returns a new
TreeSet . |
protected Collection<TreeModel<T>> |
ListTreeModel.createChildren()
Returns a new
ArrayList . |
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.
|
Modifier and Type | Method and 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.
|
Copyright © 2012–2015 OmniFaces. All rights reserved.