jasco.tools.gui
Class AbstractTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by jasco.tools.gui.AbstractTreeNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
Direct Known Subclasses:
AspectTreeNode, ConnectorTreeNode, HookTreeNode, MethodTreeNode

public abstract class AbstractTreeNode
extends javax.swing.tree.DefaultMutableTreeNode

See Also:
Serialized Form

Field Summary
protected static java.awt.Color MAIN_COLOR
           
protected static java.awt.Color TEXT_COLOR
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
AbstractTreeNode(java.lang.String name)
           
 
Method Summary
protected  javax.swing.JLabel createTop(java.lang.String text)
           
 javax.swing.Icon getIcon()
           
 java.lang.String getName()
           
abstract  void initInfoPanel(javax.swing.JPanel infoPanel)
           
protected  void initTop(javax.swing.JLabel comp)
           
 void setIcon(javax.swing.Icon i)
           
 java.lang.String 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
 

Field Detail

MAIN_COLOR

protected static final java.awt.Color MAIN_COLOR

TEXT_COLOR

protected static final java.awt.Color TEXT_COLOR
Constructor Detail

AbstractTreeNode

public AbstractTreeNode(java.lang.String name)
Method Detail

getIcon

public javax.swing.Icon getIcon()

setIcon

public void setIcon(javax.swing.Icon i)

getName

public java.lang.String getName()

toString

public java.lang.String toString()
Overrides:
toString in class javax.swing.tree.DefaultMutableTreeNode

initInfoPanel

public abstract void initInfoPanel(javax.swing.JPanel infoPanel)

initTop

protected void initTop(javax.swing.JLabel comp)

createTop

protected javax.swing.JLabel createTop(java.lang.String text)