public class EnhancedNode extends SortedNode
EnhancedTreeCellRenderer
,
Serialized FormallowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
EnhancedNode(Object value,
String string,
ImageIcon icon) |
Modifier and Type | Method and Description |
---|---|
static void |
addListener(JTree tree,
EnhancedNodeListener listener) |
ImageIcon |
getIcon() |
String |
toString() |
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
public static void addListener(JTree tree, EnhancedNodeListener listener)
public ImageIcon getIcon()
public String toString()
toString
in class DefaultMutableTreeNode
Copyright © 2011-2016 Three Crickets LLC.