org.jboss.console.navtree
Class RootWrapper

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

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

Default implementation of NodeWrapper for the first level of the tree which aggregates the first level of plugins using the "bootstrap" managed objects

See Also:
NodeWrapper (src)

Constructor Summary
RootWrapper(TreeInfo (src)  tree)
           
 
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)
           
 TreeNodeMenuEntry (src) [] getMenuEntries()
           
 java.lang.String getPath()
           
 boolean isLeaf()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RootWrapper

public RootWrapper(TreeInfo (src)  tree)
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)

getIconUrl

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

toString

public java.lang.String toString()

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)