|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TreeNode | |
---|---|
org.zkoss.zul | ZUL component set that are used for HTML-based clients. |
Uses of TreeNode in org.zkoss.zul |
---|
Classes in org.zkoss.zul that implement TreeNode | |
---|---|
class |
DefaultTreeNode<E>
A general-purpose node in a tree data structure. |
Fields in org.zkoss.zul with type parameters of type TreeNode | |
---|---|
protected java.util.ArrayList<TreeNode<E>> |
DefaultTreeNode.TreeNodeChildrenList._list
|
Methods in org.zkoss.zul that return TreeNode | |
---|---|
TreeNode<E> |
DefaultTreeNode.TreeNodeChildrenList.get(int index)
|
TreeNode<E> |
DefaultTreeModel.getChild(TreeNode<E> parent,
int index)
|
TreeNode<E> |
TreeNode.getChildAt(int childIndex)
Returns the child TreeNode at index
childIndex . |
TreeNode<E> |
DefaultTreeNode.getChildAt(int childIndex)
|
TreeNode<E> |
TreeNode.getParent()
Returns the parent TreeNode of this node. |
TreeNode<E> |
DefaultTreeNode.getParent()
|
TreeNode<E> |
DefaultTreeNode.TreeNodeChildrenList.remove(int index)
|
Methods in org.zkoss.zul that return types with arguments of type TreeNode | |
---|---|
java.util.List<TreeNode<E>> |
TreeNode.getChildren()
Return children of the receiver |
java.util.List<TreeNode<E>> |
DefaultTreeNode.getChildren()
|
Methods in org.zkoss.zul with parameters of type TreeNode | |
---|---|
void |
DefaultTreeNode.TreeNodeChildrenList.add(int index,
TreeNode<E> child)
|
void |
TreeNode.add(TreeNode<E> child)
Adds a child to this node at the end. |
void |
DefaultTreeNode.add(TreeNode<E> child)
|
TreeNode<E> |
DefaultTreeModel.getChild(TreeNode<E> parent,
int index)
|
int |
DefaultTreeModel.getChildCount(TreeNode<E> parent)
|
int |
TreeNode.getIndex(TreeNode<E> node)
Returns the index of node in this node's children. |
int |
DefaultTreeNode.getIndex(TreeNode<E> node)
|
int |
DefaultTreeModel.getIndexOfChild(TreeNode<E> parent,
TreeNode<E> child)
|
int |
DefaultTreeModel.getIndexOfChild(TreeNode<E> parent,
TreeNode<E> child)
|
int[] |
DefaultTreeModel.getPath(TreeNode<E> child)
Returns the path from the child, where the path indicates the child is placed in the whole tree. |
void |
TreeNode.insert(TreeNode<E> child,
int index)
Adds child to this node at the given index. |
void |
DefaultTreeNode.insert(TreeNode<E> child,
int index)
|
boolean |
DefaultTreeModel.isLeaf(TreeNode<E> node)
|
void |
TreeNode.remove(TreeNode<E> child)
Removes the child from this node. |
void |
DefaultTreeNode.remove(TreeNode<E> child)
|
void |
DefaultTreeModel.setOpen(TreeNode<E> child,
boolean open)
Deprecated. As of release 6.0.0, replaced with AbstractTreeModel.addOpenObject(E)
and DefaultTreeModel.removeOpenObject(java.lang.Object) . |
Method parameters in org.zkoss.zul with type arguments of type TreeNode | |
---|---|
java.lang.String |
DefaultTreeModel.getSortDirection(java.util.Comparator<TreeNode<E>> cmpr)
|
void |
DefaultTreeModel.sort(java.util.Comparator<TreeNode<E>> cmpr,
boolean ascending)
Sorts the data. |
Constructors in org.zkoss.zul with parameters of type TreeNode | |
---|---|
DefaultTreeModel(TreeNode<E> root)
Creates a tree with the specified note as the root. |
|
DefaultTreeModel(TreeNode<E> root,
boolean emptyChildAsLeaf)
Creates a tree with the specified note as the root. |
|
DefaultTreeNode(E data,
TreeNode<E>[] children)
Creates a branch (non-leaf) node. |
Constructor parameters in org.zkoss.zul with type arguments of type TreeNode | |
---|---|
DefaultTreeNode(E data,
java.util.Collection<? extends TreeNode<E>> children)
Creates a branch (non-leaf) node. |
|
DefaultTreeNode(E data,
java.util.Collection<? extends TreeNode<E>> children,
boolean nullAsMax)
Creates a branch (non-leaf) node. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |