org.equanda.util.swing.tree
Class IconNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
org.equanda.util.swing.tree.IconNode
- All Implemented Interfaces:
- Serializable, Cloneable, MutableTreeNode, TreeNode
public class IconNode
- extends DefaultMutableTreeNode
Node for a JTree object which can have a specific icon
- Author:
- Joachim Van der Auwera
- See Also:
- Serialized Form
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 |
icon
protected Icon icon
iconName
protected String iconName
IconNode
public IconNode()
IconNode
public IconNode(Object userObject)
IconNode
public IconNode(Object userObject,
boolean allowsChildren,
Icon icon)
setIcon
public void setIcon(Icon icon)
getIcon
public Icon getIcon()
getIconName
public String getIconName()
setIconName
public void setIconName(String name)
Copyright © 2007-2009. All Rights Reserved.