com.tensegrity.gui.swing.control.tree
Class VisualSubgraphTreeNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended bycom.tensegrity.gui.swing.control.tree.VisualGraphObjectTreeNode
          extended bycom.tensegrity.gui.swing.control.tree.VisualSubgraphTreeNode
All Implemented Interfaces:
java.lang.Cloneable, DynamicTreeNode, LabeledTreeNode, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class VisualSubgraphTreeNode
extends VisualGraphObjectTreeNode

The VisualSubgraphTreeNode is used to represent VisualSubgraph's of a graph.

Version:
$Id: VisualSubgraphTreeNode.java,v 1.9 2004/10/14 13:28:26 SebastienGuyon Exp $
Author:
Gilles Iachelini
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
VisualSubgraphTreeNode(java.lang.Object userObject)
          Deprecated. use the constructor with the UIManager as parameter instead.
VisualSubgraphTreeNode(java.lang.Object userObject, UIManager uimanager)
           Creates the VisualSubgraphTreeNode based on the given userObject, which must be an instance of VisualSubgraph.
 
Method Summary
 java.lang.String getLabel()
          Method getLabel returns the label suitable for this node.
 
Methods inherited from class com.tensegrity.gui.swing.control.tree.VisualGraphObjectTreeNode
getID, getUIManager, loadChildren, toString
 
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
 

Constructor Detail

VisualSubgraphTreeNode

public VisualSubgraphTreeNode(java.lang.Object userObject)
Deprecated. use the constructor with the UIManager as parameter instead.

Creates the VisualSubgraphTreeNode based on the given userObject, which must be an instance of VisualSubgraph.

Parameters:
userObject - the object to be represented by this Node.

VisualSubgraphTreeNode

public VisualSubgraphTreeNode(java.lang.Object userObject,
                              UIManager uimanager)

Creates the VisualSubgraphTreeNode based on the given userObject, which must be an instance of VisualSubgraph.

Parameters:
userObject - a VisualGraphObject this node will represent.
uimanager - the UIManager for localized Strings.
Method Detail

getLabel

public java.lang.String getLabel()
Description copied from interface: LabeledTreeNode
Method getLabel returns the label suitable for this node.

Returns:
String
See Also:
LabeledTreeNode.getLabel()


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.