yawiki.client.gui
Class YIconNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by yawiki.client.gui.YIconNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class YIconNode
extends javax.swing.tree.DefaultMutableTreeNode

See Also:
Serialized Form

Field Summary
protected  javax.swing.Icon icon
           
protected  java.lang.String iconName
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
YIconNode()
           
YIconNode(java.lang.Object userObject)
           
YIconNode(java.lang.Object userObject, boolean allowsChildren, javax.swing.Icon icon)
           
 
Method Summary
 javax.swing.Icon getIcon()
           
 java.lang.String getIconName()
           
 void setIcon(javax.swing.Icon icon)
           
 void setIconName(java.lang.String name)
           
 
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

protected javax.swing.Icon icon

iconName

protected java.lang.String iconName
Constructor Detail

YIconNode

public YIconNode()

YIconNode

public YIconNode(java.lang.Object userObject)

YIconNode

public YIconNode(java.lang.Object userObject,
                 boolean allowsChildren,
                 javax.swing.Icon icon)
Method Detail

setIcon

public void setIcon(javax.swing.Icon icon)

getIcon

public javax.swing.Icon getIcon()

getIconName

public java.lang.String getIconName()

setIconName

public void setIconName(java.lang.String name)