public class AjaxTreeModel extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
AjaxTreeModel.Delegate |
protected class |
AjaxTreeModel.DepthFirstEnumeration |
static class |
AjaxTreeModel.WrapperNode
WrapperNode is useful if your objects form a
graph instead of a tree and you want to maintain the unique
branching to a particular node as the user navigates through
the tree.
|
Constructor and Description |
---|
AjaxTreeModel() |
public void setDelegate(Object delegate)
public Object delegate()
public void setRootExpanded(boolean rootExpanded)
public boolean isRootExpanded()
public void setAllExpanded(boolean allExpanded)
public boolean isAllExpanded()
public void setParentTreeNodeKeyPath(String parentTreeNodeKeyPath)
public String parentTreeNodeKeyPath()
public void setChildrenTreeNodesKeyPath(String childrenTreeNodesKayPath)
public String childrenTreeNodesKeyPath()
public void setIsLeafKeyPath(String isLeafKeyPath)
public String isLeafKeyPath()
public void setRootTreeNode(Object rootTreeNode)
public Object rootTreeNode()
public boolean isExpanded(Object treeNode)
public void setExpanded(Object treeNode, boolean expanded)
public void collapseAll()
public void expandAll()
protected void clearExpandedAndCollapsed()
protected void expandRootIfNecessary()
public int level(Object treeNode)
public boolean isLeaf(Object node)
public Enumeration depthFirstEnumeration(Object node, boolean enumeratedClosedNodes)
public Enumeration rootDepthFirstEnumeration(boolean enumeratedClosedNodes)
Copyright © 2002 – 2020 Project Wonder.