|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
net.sf.jdiskcatalog.model.NodeImpl
public class NodeImpl
Field Summary |
---|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
---|---|
NodeImpl(NodeInfo nodeInfo)
|
|
NodeImpl(java.lang.String name,
NodeInfo.Type type)
|
Method Summary | |
---|---|
void |
add(Node node)
|
java.util.Enumeration |
children()
|
Node |
getChild(java.lang.String name)
|
java.util.List<Node> |
getChildren()
|
NodeInfo |
getNodeInfo()
|
Node |
getParentNode()
|
boolean |
hasChildren()
|
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
add, breadthFirstEnumeration, 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 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NodeImpl(java.lang.String name, NodeInfo.Type type)
public NodeImpl(NodeInfo nodeInfo)
Method Detail |
---|
public NodeInfo getNodeInfo()
getNodeInfo
in interface Node
public void add(Node node)
add
in interface Node
public java.util.Enumeration children()
children
in interface javax.swing.tree.TreeNode
children
in class javax.swing.tree.DefaultMutableTreeNode
public java.util.List<Node> getChildren()
getChildren
in interface Node
public boolean hasChildren()
hasChildren
in interface Node
public Node getParentNode()
getParentNode
in interface Node
public Node getChild(java.lang.String name)
getChild
in interface Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |