FileDocCategorySizeDatePackage
SimpleTreeNode.javaAPI DocJBoss 4.2.13394Fri Jul 13 21:02:14 BST 2007org.jboss.console.manager.interfaces.impl

SimpleTreeNode

public class SimpleTreeNode extends Object implements org.jboss.console.manager.interfaces.TreeNode
see
author
Sacha Labourey.
version
$Revision: 57191 $

Revisions:

31 dec 2002 Sacha Labourey:

  • First implementation

Fields Summary
protected String
name
protected String
description
protected String
icon
protected org.jboss.console.manager.interfaces.TreeAction
action
protected org.jboss.console.manager.interfaces.TreeNodeMenuEntry[]
menuEntries
protected org.jboss.console.manager.interfaces.TreeNode[]
subNodes
protected org.jboss.console.manager.interfaces.ResourceTreeNode[]
nodeManagableResources
protected boolean
isMaster
Constructors Summary
public SimpleTreeNode()

   
      super(); 
public SimpleTreeNode(String name, String description, String icon, org.jboss.console.manager.interfaces.TreeAction action, org.jboss.console.manager.interfaces.TreeNodeMenuEntry[] menuEntries, org.jboss.console.manager.interfaces.TreeNode[] subNodes, org.jboss.console.manager.interfaces.ResourceTreeNode[] nodeManagableResources)

  
      this.name = name;
      this.description = description;
      this.icon = icon;
      this.action = action;
      this.menuEntries = menuEntries;
      this.subNodes = subNodes;
      this.nodeManagableResources = nodeManagableResources;      
   
Methods Summary
public org.jboss.console.manager.interfaces.TreeActiongetAction()

      return this.action;
   
public java.lang.StringgetDescription()

      return this.description;
   
public java.lang.StringgetIcon()

      return this.icon;
   
public org.jboss.console.manager.interfaces.TreeNodeMenuEntry[]getMenuEntries()

      return this.menuEntries;
   
public java.lang.StringgetName()

      return this.name;
   
public org.jboss.console.manager.interfaces.ResourceTreeNode[]getNodeManagableResources()

      return this.nodeManagableResources;
   
public org.jboss.console.manager.interfaces.TreeNode[]getSubNodes()

      return this.subNodes;
   
public booleanisMasterNode()

      return this.isMaster;
   
public org.jboss.console.manager.interfaces.TreeNodesetMasterNode(boolean master)

      this.isMaster = master;
      return this;