com.gmail.thejcwk.semantics.jgraph.topicmap
Class TopicMapCell

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.jgraph.graph.DefaultGraphCell
          extended by com.gmail.thejcwk.semantics.jgraph.topicmap.TopicMapCell
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode, org.jgraph.graph.GraphCell

public class TopicMapCell
extends org.jgraph.graph.DefaultGraphCell

This class is responsible for drawing cell on a topic map.

Author:
Jan Kroeze
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
TopicMapCell()
          Creates a graph cell.
 
Method Summary
 java.lang.String getToolTipString()
          Return the message that should be displayed in this cell's tooltip.
 void setToolTipString(java.lang.String aToolTip)
          Set this cell's tooltip message.
 
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, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TopicMapCell

public TopicMapCell()
Creates a graph cell.

Method Detail

getToolTipString

public java.lang.String getToolTipString()
Return the message that should be displayed in this cell's tooltip.

Returns:
A String object.

setToolTipString

public void setToolTipString(java.lang.String aToolTip)
Set this cell's tooltip message.

Parameters:
aToolTip - The new message.