Class EntityCell

  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.jgraph.graph.DefaultGraphCell
          extended by easik.sketch.util.graph.EntityCell
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode, org.jgraph.graph.GraphCell

public class EntityCell
extends org.jgraph.graph.DefaultGraphCell

This class represents a cell that will be represented as a entity in the JGraph graph.

2006-07-25 Kevin Green
2006-07-25 Kevin Green
William Belanger 2006, Kevin Green 2006
See Also:
Serialized Form

Field Summary
Fields inherited from class org.jgraph.graph.DefaultGraphCell
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor Summary
          Default constructor, uses null as the data object.
EntityCell(java.lang.Object o)
          Creates a graph cell and initializes it with the specified user object.
Method Summary
Methods inherited from class org.jgraph.graph.DefaultGraphCell
addPort, addPort, addPort, changeAttributes, clone, getAttributes, getChildren, setAttributes
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, 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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public EntityCell()
Default constructor, uses null as the data object.


public EntityCell(java.lang.Object o)
Creates a graph cell and initializes it with the specified user object.

o - An Object provided by the user that constitutes the cell's data.