org.jboss.console.navtree
Class StdNodeWrapper
java.lang.Object
org.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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StdNodeWrapper
public StdNodeWrapper(TreeNode (src) node,
TreeInfo (src) master,
java.lang.String parentPath)
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)