public class ExpandMutableTreeNode
extends javax.swing.tree.DefaultMutableTreeNode
构造器和说明 |
---|
ExpandMutableTreeNode()
默认显示:“正在加载”,如需要显示tree,则传入相应userobject
|
ExpandMutableTreeNode(java.lang.Object userObject) |
ExpandMutableTreeNode(java.lang.Object userObject,
boolean isExpanded) |
限定符和类型 | 方法和说明 |
---|---|
void |
addChildTreeNodes(ExpandMutableTreeNode[] newChildNodes) |
void |
expandCurrentTreeNode(javax.swing.JTree tree)
展开所有Expanded为true的TreeNode
|
boolean |
hasFullAuthority() |
boolean |
isExpanded() |
void |
setExpanded(boolean isExpanded) |
void |
setFullAuthority(boolean hasFullAuthority) |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
public ExpandMutableTreeNode()
public ExpandMutableTreeNode(java.lang.Object userObject)
public ExpandMutableTreeNode(java.lang.Object userObject, boolean isExpanded)
public boolean hasFullAuthority()
public void setFullAuthority(boolean hasFullAuthority)
public boolean isExpanded()
public void setExpanded(boolean isExpanded)
public void expandCurrentTreeNode(javax.swing.JTree tree)
public void addChildTreeNodes(ExpandMutableTreeNode[] newChildNodes)