com.ptc.core.ca.co.client.tree
Class CoTreeNodeInstance

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by com.ptc.core.ca.co.client.tree.CoTreeNodeInstance
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode

Deprecated.

@Deprecated
public class CoTreeNodeInstance
extends DefaultMutableTreeNode
implements Serializable

The class implementing a node in the data tree. The tree of conceptual elements is build and maintained based on the data tree. The data tree is based on the swing implementation of a tree and thus swing utilities can be used to traverse it.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Method Summary
 CoInstance getInstance()
          Deprecated. Returens the I*E element wrapped into CoInstance that is a user object of this node.
 boolean isExpanded()
          Deprecated. Gets the value of the attribute: expanded; the flag indicating whether a corresponding tree node conceptual element is expanded

Supported API: true
 boolean isPopulated()
          Deprecated. Gets the value of the attribute: populated; the flag indicating whether this node is populated with children.
 void setExpanded(boolean a_Expanded)
          Deprecated. Sets the value of the attribute: expanded; the flag indicating whether a corresponding tree node conceptual element is expanded

Supported API: true
 void setInstace(CoInstance instance)
          Deprecated. Sets the I*E element wrapped into CoInstance as a user object of this node.
 void setPopulated(boolean a_Populated)
          Deprecated. Sets the value of the attribute: populated; the flag indicating whether this node is populated with children.
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isExpanded

public boolean isExpanded()
Deprecated. 
Gets the value of the attribute: expanded; the flag indicating whether a corresponding tree node conceptual element is expanded

Supported API: true

Returns:
boolean

setExpanded

public void setExpanded(boolean a_Expanded)
Deprecated. 
Sets the value of the attribute: expanded; the flag indicating whether a corresponding tree node conceptual element is expanded

Supported API: true

Parameters:
a_Expanded -

isPopulated

public boolean isPopulated()
Deprecated. 
Gets the value of the attribute: populated; the flag indicating whether this node is populated with children. The negative value means that it's not known whether the node has children and not that the node does not have children. Thus a node may have no children but be populated.

This attribute is used to deternine if we need to put "+" sign.

Supported API: true

Returns:
boolean

setPopulated

public void setPopulated(boolean a_Populated)
Deprecated. 
Sets the value of the attribute: populated; the flag indicating whether this node is populated with children. The negative value means that it's not known whether the node has children and not that the node does not have children. Thus a node may have no children but be populated.

This attribute is used to deternine if we need to put "+" sign.

Supported API: true

Parameters:
a_Populated -

getInstance

public CoInstance getInstance()
Deprecated. 
Returens the I*E element wrapped into CoInstance that is a user object of this node.

Supported API: true

Returns:
CoInstance

setInstace

public void setInstace(CoInstance instance)
Deprecated. 
Sets the I*E element wrapped into CoInstance as a user object of this node.

Supported API: true

Parameters:
instance -