Package | Description |
---|---|
org.zkoss.zul |
ZUL component set that are used for HTML-based clients.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTreeNode<E>
A general-purpose node in a tree data structure.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<TreeNode<E>> |
DefaultTreeNode.TreeNodeChildrenList._list |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
java.util.List<TreeNode<E>> |
TreeNode.getChildren()
Return children of the receiver
|
java.util.List<TreeNode<E>> |
DefaultTreeNode.getChildren() |
Modifier and Type | Method and Description |
---|---|
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) . |
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
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 and Description |
---|
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.
|
Copyright © 2005-2021 Potix Corporation. All Rights Reserved.