public class ToNameMutableTreeNode extends DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject| 构造器和说明 |
|---|
ToNameMutableTreeNode(Object userObject) |
ToNameMutableTreeNode(Object userObject,
boolean allowsChild) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
toString()
Returns result of call toName() method of userObject, or null if there is no user object,
or user object is null.
|
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, setUserObjectpublic ToNameMutableTreeNode(Object userObject)
public ToNameMutableTreeNode(Object userObject, boolean allowsChild)
public String toString()
toString 在类中 DefaultMutableTreeNodeCopyright © 2023 onecode. All rights reserved.