org.jboss.console.navtree
Class StdNodeWrapper

java.lang.Object
  extended byorg.jboss.console.navtree.StdNodeWrapper
All Implemented Interfaces:
NodeWrapper (src)

public class StdNodeWrapper
extends java.lang.Object
implements NodeWrapper (src)

NodeWrapper implementation for nodes that are not root nodes

See Also:
NodeWrapper (src)

Constructor Summary
StdNodeWrapper(TreeNode (src)  node, TreeInfo (src)  master, java.lang.String parentPath)
           
 
Method Summary
 TreeAction (src) getAssociatedAction()
           
 java.lang.Object getChild(int index)
           
 int getChildCount()
           
 java.lang.String getDescription()
           
 java.lang.String getIconUrl()
           
 int getIndexOfChild(java.lang.Object child)
           
protected  TreeNode (src) getMasterFromPluggins(TreeNode (src) [] plugged)
           
 TreeNodeMenuEntry (src) [] getMenuEntries()
           
 java.lang.String getPath()
           
 boolean isLeaf()
           
protected  TreeNode (src) [] removeMasterFromList(TreeNode (src) [] all, TreeNode (src)  main)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StdNodeWrapper

public StdNodeWrapper(TreeNode (src)  node,
                      TreeInfo (src)  master,
                      java.lang.String parentPath)
Method Detail

getChild

public java.lang.Object getChild(int index)
Specified by:
getChild in interface NodeWrapper (src)

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface NodeWrapper (src)

getIndexOfChild

public int getIndexOfChild(java.lang.Object child)
Specified by:
getIndexOfChild in interface NodeWrapper (src)

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface NodeWrapper (src)

toString

public java.lang.String toString()

getIconUrl

public java.lang.String getIconUrl()
Specified by:
getIconUrl in interface NodeWrapper (src)

getAssociatedAction

public TreeAction (src)  getAssociatedAction()
Specified by:
getAssociatedAction in interface NodeWrapper (src)

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface NodeWrapper (src)

getMenuEntries

public TreeNodeMenuEntry (src) [] getMenuEntries()
Specified by:
getMenuEntries in interface NodeWrapper (src)

getPath

public java.lang.String getPath()
Specified by:
getPath in interface NodeWrapper (src)

getMasterFromPluggins

protected TreeNode (src)  getMasterFromPluggins(TreeNode (src) [] plugged)

removeMasterFromList

protected TreeNode (src) [] removeMasterFromList(TreeNode (src) [] all,
                                          TreeNode (src)  main)