mysqlconnectus
Class IconNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by mysqlconnectus.IconNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class IconNode
extends javax.swing.tree.DefaultMutableTreeNode

Icon for customized tree

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
IconNode(java.lang.String text, java.lang.String iconPath)
          Constructor for customized node
 
Method Summary
 java.lang.String getIcon()
          This returns the icon path
 void setIcon(java.lang.String iconPath)
          This set the icon path
 
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, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IconNode

public IconNode(java.lang.String text,
                java.lang.String iconPath)
Constructor for customized node

Method Detail

getIcon

public java.lang.String getIcon()
This returns the icon path


setIcon

public void setIcon(java.lang.String iconPath)
This set the icon path