Worldpublic class EasyIconTreeNode
extends javax.swing.tree.DefaultMutableTreeNode
| Constructor | Description |
|---|---|
EasyIconTreeNode() |
| Modifier and Type | Method | Description |
|---|---|---|
javax.swing.Icon |
getIcon() |
Returns the icon assigned to this node.
|
void |
setIcon(javax.swing.Icon iconName) |
Set the icon for this node.
|
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, toStringpublic void setIcon(javax.swing.Icon iconName)
iconName - The icon file to be used for this node.public javax.swing.Icon getIcon()