public class CustomTreeNode
extends javax.swing.tree.DefaultMutableTreeNode
| Modifier and Type | Field and Description |
|---|---|
javax.swing.Icon |
icon |
java.lang.Object |
tag |
java.lang.String |
text |
| Constructor and Description |
|---|
CustomTreeNode(java.lang.String text) |
CustomTreeNode(java.lang.String text,
java.lang.Object obj) |
CustomTreeNode(java.lang.String text,
java.lang.Object obj,
javax.swing.Icon icon) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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, setUserObjectpublic java.lang.String text
public java.lang.Object tag
public javax.swing.Icon icon