Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cern::gp::nodes::GPNode Interface Reference

Inheritance diagram for cern::gp::nodes::GPNode:

Inheritance graph
[legend]
List of all members.

Public Member Functions

String getName ()
Object getBean ()
boolean isLeaf ()
NodeCollection getNodeCollection ()
GPNode getParent ()
Node getPeerNode ()

Detailed Description

A class implementing this interface is a node that extends the concept of beans. A node is a bean that can have children. The children (a NodeCollection) are managed by a ChildrenManager.

GPNode is the same concept as Node in NetBeans, but wraps the API to make easier to understand and use.

See also:
org.openide.nodes.Node

NodeFactory

cern.gp.nodes.children.NodeCollection

Version:
Revision
1.2
Date
2006/09/25 08:52:36
Author:
Lionel Mestre


Member Function Documentation

Object cern::gp::nodes::GPNode::getBean  ) 
 

Returns the bean this node is based upon

Returns:
the bean this node is based upon

Implemented in cern::gp::nodes::impl::GPFilterNode.

String cern::gp::nodes::GPNode::getName  ) 
 

Returns the name of this node

Returns:
the name of this node

NodeCollection cern::gp::nodes::GPNode::getNodeCollection  ) 
 

Returns the children of this node. Null can be returned is this node is a leaf and does not have children.

Returns:
the children of this node or null

Implemented in cern::gp::nodes::impl::GPBeanNode, and cern::gp::nodes::impl::GPFilterNode.

GPNode cern::gp::nodes::GPNode::getParent  ) 
 

Returns the parent node of this node. A node has a parent node if it is member of the children of that node. If this node has no parent (it is a root node), null is returned.

Parameters:
the parent node of this node or null

Implemented in cern::gp::nodes::impl::GPBeanNode, and cern::gp::nodes::impl::GPFilterNode.

Node cern::gp::nodes::GPNode::getPeerNode  ) 
 

Returns the NetBeans nodes representing this node

Parameters:
the NetBeans nodes representing this node

Implemented in cern::gp::nodes::impl::GPBeanNode, and cern::gp::nodes::impl::GPFilterNode.

boolean cern::gp::nodes::GPNode::isLeaf  ) 
 

Test whether the node is a leaf, or may contain children.

Returns:
true if the children list is actually Children.LEAF


The documentation for this interface was generated from the following file:
Generated on Thu Apr 30 03:08:31 2009 for ACS Java API by doxygen 1.3.8