Package com.nomagic.magicdraw.ui.browser
Class Node
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
com.nomagic.magicdraw.ui.browser.Node
- All Implemented Interfaces:
com.nomagic.magicdraw.ui.browser.Expandable
,PropertyChangeListener
,Serializable
,Cloneable
,EventListener
,MutableTreeNode
,TreeNode
@OpenApi
public class Node
extends DefaultMutableTreeNode
implements PropertyChangeListener, com.nomagic.magicdraw.ui.browser.Expandable
The base node of all tree nodes. This node has some user object.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, EMPTY_ENUMERATION, parent, userObject
-
Method Summary
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
breadthFirstEnumeration, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObjectPath, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, removeFromParent, setAllowsChildren, setParent
-
Method Details
-
getUserObject
Returns user object of this node.- Overrides:
getUserObject
in classDefaultMutableTreeNode
- Returns:
- user object(some Element).
-