Package org.xtce.apps.editor.ui
Class XTCEViewerContainerTreeNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- org.xtce.apps.editor.ui.XTCEViewerContainerTreeNode
-
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode
public class XTCEViewerContainerTreeNode 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 container.- 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 StringgetContainerPath()Accessor to retrieve the fully qualified name and path to this container in the XTCE Space System hierarchy.XTCETMContainergetContainerReference()Accessor to retrieve a reference to the XTCETMContainer object that is represented by this node in the tree of containers.XTCEContainerContentModelgetContentModel()Accessor to retrieve a reference to the evaluated container content for this tree node, or null if it has not been evaluated before.StringgetInheritancePath()Accessor to retrieve the fully qualified name and path to this container in the inheritance tree of SequenceContainers within the XTCE data model.StringgetName()Accessor to retrieve the name of the XTCE SequenceContainer that is represented by this node.voidsetContentModel(XTCEContainerContentModel contentModel)Setter to update the internal container model object when the container for this tree node is evaluated.-
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 SequenceContainer that is represented by this node.- Returns:
- String containing the name of the container.
-
getContainerPath
public String getContainerPath()
Accessor to retrieve the fully qualified name and path to this container in the XTCE Space System hierarchy.- Returns:
- String containing the UNIX style path reference and name of the container that is represented by this node.
-
getInheritancePath
public String getInheritancePath()
Accessor to retrieve the fully qualified name and path to this container in the inheritance tree of SequenceContainers within the XTCE data model.- Returns:
- String containing the UNIX style path reference and name of the container as it is represented in the container inheritance model.
-
getContainerReference
public XTCETMContainer getContainerReference()
Accessor to retrieve a reference to the XTCETMContainer object that is represented by this node in the tree of containers.- Returns:
- XTCETMContainer pointed to by this tree node.
-
getContentModel
public XTCEContainerContentModel getContentModel()
Accessor to retrieve a reference to the evaluated container content for this tree node, or null if it has not been evaluated before.- Returns:
- XTCEContainerContentModel reference to the container contents.
-
setContentModel
public void setContentModel(XTCEContainerContentModel contentModel)
Setter to update the internal container model object when the container for this tree node is evaluated.- Parameters:
contentModel- The XTCEContainerContentModel object that was created for this container tree node.
-
-