Package org.xtce.apps.editor.ui
Class XTCEViewerStreamTreeNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- org.xtce.apps.editor.ui.XTCEViewerStreamTreeNode
-
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode
public class XTCEViewerStreamTreeNode extends DefaultMutableTreeNode
This class assists the graphical interface application by providing a path and reference to JTree objects so that the tree node can easily reference a stream.- Author:
- David Overeem
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Accessor to retrieve the name of the XTCE Stream that is represented by this node.XTCETMStreamgetStreamReference()Accessor to retrieve a reference to the XTCETMStream object that is represented by this node in the tree of streams.-
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
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
-
-
-
-
Method Detail
-
getName
public String getName()
Accessor to retrieve the name of the XTCE Stream that is represented by this node.- Returns:
- String containing the name of the container.
-
getStreamReference
public XTCETMStream getStreamReference()
Accessor to retrieve a reference to the XTCETMStream object that is represented by this node in the tree of streams.- Returns:
- XTCETMStream pointed to by this tree node.
-
-