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

cern::gp::nodes::impl::GPBeanNode Class Reference

Inheritance diagram for cern::gp::nodes::impl::GPBeanNode:

Inheritance graph
[legend]
Collaboration diagram for cern::gp::nodes::impl::GPBeanNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GPBeanNode (Object bean) throws IntrospectionException
 GPBeanNode (Object bean, ChildrenManager childrenManager) throws IntrospectionException
HelpCtx getHelpCtx ()
boolean canRename ()
boolean canDestroy ()
boolean canCopy ()
boolean canCut ()
Node.Handle getHandle ()
NodeCollection getNodeCollection ()
Node getPeerNode ()
GPNode getParent ()

Protected Member Functions

Sheet createSheet ()

Private Attributes

NodeCollection nodeCollection

Detailed Description

<font size="-1" color="#FF0000">**For internal use only** </font> A node based on BeanNode with some children. This node cannot be copied, cut, destroyed or renamed.

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


Constructor & Destructor Documentation

cern::gp::nodes::impl::GPBeanNode::GPBeanNode Object  bean  )  throws IntrospectionException [inline]
 

Creates a new GPBeanNode based on the given bean with no children The new node is therefore a leaf.

cern::gp::nodes::impl::GPBeanNode::GPBeanNode Object  bean,
ChildrenManager  childrenManager
throws IntrospectionException [inline]
 

Creates a new GPBeanNode based on the given bean and on the given children

See also:
cern.gp.nodes.impl.BeanNode::BeanNode(Object, Children)


Member Function Documentation

boolean cern::gp::nodes::impl::GPBeanNode::canCopy  )  [inline]
 

Can this node be copied?

Returns:
false

boolean cern::gp::nodes::impl::GPBeanNode::canCut  )  [inline]
 

Can this node be cut?

Returns:
false

boolean cern::gp::nodes::impl::GPBeanNode::canDestroy  )  [inline]
 

Can this node be destroyed?

Returns:
false

boolean cern::gp::nodes::impl::GPBeanNode::canRename  )  [inline]
 

Can this node be renamed?

Returns:
false

Sheet cern::gp::nodes::impl::GPBeanNode::createSheet  )  [inline, protected]
 

Initialize a default property sheet; commonly overridden. If getSheet is called and there is not yet a sheet, this method is called to allow a subclass to specify its properties.

Warning: Do not call getSheet in this method.

The default implementation returns an empty sheet.

Returns:
the sheet with initialized values (never null)

Node.Handle cern::gp::nodes::impl::GPBeanNode::getHandle  )  [inline]
 

Get a serializable handle for this node. Return null in this implementation which means the node is not persisted

Returns:
null

HelpCtx cern::gp::nodes::impl::GPBeanNode::getHelpCtx  )  [inline]
 

Get context help associated with this node.

Returns:
the context help object (could be null or HelpCtx#DEFAULT_HELP)

NodeCollection cern::gp::nodes::impl::GPBeanNode::getNodeCollection  )  [inline]
 

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

Implements cern::gp::nodes::GPNode.

GPNode cern::gp::nodes::impl::GPBeanNode::getParent  )  [inline]
 

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

Implements cern::gp::nodes::GPNode.

Node cern::gp::nodes::impl::GPBeanNode::getPeerNode  )  [inline]
 

Returns the NetBeans nodes representing this node

Parameters:
the NetBeans nodes representing this node

Implements cern::gp::nodes::GPNode.


Member Data Documentation

NodeCollection cern::gp::nodes::impl::GPBeanNode::nodeCollection [private]
 

a view of the children of this node


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