Uses of Interface
org.zkoss.zul.TreeNode
Packages that use TreeNode
-
Uses of TreeNode in org.zkoss.zul
Classes in org.zkoss.zul that implement TreeNodeModifier and TypeClassDescriptionclassA general-purpose node in a tree data structure.Fields in org.zkoss.zul with type parameters of type TreeNodeMethods in org.zkoss.zul that return TreeNodeModifier and TypeMethodDescriptionDefaultTreeNode.TreeNodeChildrenList.get(int index) DefaultTreeNode.getChildAt(int childIndex) TreeNode.getChildAt(int childIndex) Returns the childTreeNodeat indexchildIndex.DefaultTreeNode.getParent()TreeNode.getParent()Returns the parentTreeNodeof this node.DefaultTreeNode.TreeNodeChildrenList.remove(int index) Methods in org.zkoss.zul that return types with arguments of type TreeNodeModifier and TypeMethodDescriptionDefaultTreeNode.getChildren()TreeNode.getChildren()Return children of the receiverMethods in org.zkoss.zul with parameters of type TreeNodeModifier and TypeMethodDescriptionvoidvoidvoidAdds a child to this node at the end.intDefaultTreeModel.getChildCount(TreeNode<E> parent) intintReturns the index ofnodein this node's children.intDefaultTreeModel.getIndexOfChild(TreeNode<E> parent, TreeNode<E> child) int[]Returns the path from the child, where the path indicates the child is placed in the whole tree.voidvoidAdds child to this node at the given index.booleanvoidvoidRemoves the child from this node.Method parameters in org.zkoss.zul with type arguments of type TreeNodeModifier and TypeMethodDescriptionDefaultTreeModel.getSortDirection(Comparator<TreeNode<E>> cmpr) voidDefaultTreeModel.sort(Comparator<TreeNode<E>> cmpr, boolean ascending) Sorts the data.Constructors in org.zkoss.zul with parameters of type TreeNodeModifierConstructorDescriptionDefaultTreeModel(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 TreeNodeModifierConstructorDescriptionDefaultTreeNode(E data, Collection<? extends TreeNode<E>> children) Creates a branch (non-leaf) node.DefaultTreeNode(E data, Collection<? extends TreeNode<E>> children, boolean nullAsMax) Creates a branch (non-leaf) node.