com.jgoodies.metamorphosis
Class PackagesPanel.LabeledNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by com.jgoodies.metamorphosis.PackagesPanel.LabeledNode
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode
Enclosing class:
PackagesPanel

private static class PackagesPanel.LabeledNode
extends DefaultMutableTreeNode


Field Summary
private  Icon icon
           
private  String label
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
PackagesPanel.LabeledNode(Icon icon, String label)
           
 
Method Summary
 Icon icon()
           
 String label()
           
 
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

private final Icon icon

label

private final String label
Constructor Detail

PackagesPanel.LabeledNode

public PackagesPanel.LabeledNode(Icon icon,
                                 String label)
Method Detail

icon

public Icon icon()

label

public String label()


Copyright © 2002-2008 JGoodies Karsten Lentzsch. All Rights Reserved.