edu.wisc.ssec.mcidasv.util
Class TreePanel.MyTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by edu.wisc.ssec.mcidasv.util.TreePanel.MyTreeNode
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode
Enclosing class:
TreePanel

private static class TreePanel.MyTreeNode
extends DefaultMutableTreeNode

TreeNode extensions that allows us to associate an icon with this node.


Field Summary
 ImageIcon icon
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
TreePanel.MyTreeNode(Object o, ImageIcon icon)
           
 
Method Summary
 
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, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

icon

public ImageIcon icon
Constructor Detail

TreePanel.MyTreeNode

public TreePanel.MyTreeNode(Object o,
                            ImageIcon icon)