Uses of Interface
org.zkoss.zul.TreeNode
-
Packages that use TreeNode Package Description org.zkoss.zul -
-
Uses of TreeNode in org.zkoss.zul
Classes in org.zkoss.zul that implement TreeNode Modifier and Type Class Description classDefaultTreeNode<E>A general-purpose node in a tree data structure.Fields in org.zkoss.zul with type parameters of type TreeNode Modifier and Type Field Description protected java.util.ArrayList<TreeNode<E>>DefaultTreeNode.TreeNodeChildrenList. _listMethods in org.zkoss.zul that return TreeNode Modifier and Type Method Description TreeNode<E>DefaultTreeNode.TreeNodeChildrenList. get(int index)TreeNode<E>DefaultTreeModel. getChild(TreeNode<E> parent, int index)TreeNode<E>DefaultTreeNode. getChildAt(int childIndex)TreeNode<E>TreeNode. getChildAt(int childIndex)Returns the childTreeNodeat indexchildIndex.TreeNode<E>DefaultTreeNode. getParent()TreeNode<E>TreeNode. getParent()Returns the parentTreeNodeof this node.TreeNode<E>DefaultTreeNode.TreeNodeChildrenList. remove(int index)Methods in org.zkoss.zul that return types with arguments of type TreeNode Modifier and Type Method Description java.util.List<TreeNode<E>>DefaultTreeNode. getChildren()java.util.List<TreeNode<E>>TreeNode. getChildren()Return children of the receiverMethods in org.zkoss.zul with parameters of type TreeNode Modifier and Type Method Description voidDefaultTreeNode. add(TreeNode<E> child)voidDefaultTreeNode.TreeNodeChildrenList. add(int index, TreeNode<E> child)voidTreeNode. add(TreeNode<E> child)Adds a child to this node at the end.TreeNode<E>DefaultTreeModel. getChild(TreeNode<E> parent, int index)intDefaultTreeModel. getChildCount(TreeNode<E> parent)intDefaultTreeNode. getIndex(TreeNode<E> node)intTreeNode. getIndex(TreeNode<E> node)Returns the index ofnodein this node's children.intDefaultTreeModel. 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.voidDefaultTreeNode. insert(TreeNode<E> child, int index)voidTreeNode. insert(TreeNode<E> child, int index)Adds child to this node at the given index.booleanDefaultTreeModel. isLeaf(TreeNode<E> node)voidDefaultTreeNode. remove(TreeNode<E> child)voidTreeNode. remove(TreeNode<E> child)Removes the child from this node.Method parameters in org.zkoss.zul with type arguments of type TreeNode Modifier and Type Method Description java.lang.StringDefaultTreeModel. getSortDirection(java.util.Comparator<TreeNode<E>> cmpr)voidDefaultTreeModel. sort(java.util.Comparator<TreeNode<E>> cmpr, boolean ascending)Sorts the data.Constructors in org.zkoss.zul with parameters of type TreeNode Constructor 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 parameters in org.zkoss.zul with type arguments of type TreeNode Constructor 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.
-