Public Member Functions | Protected Member Functions

cern.gp.nodes.impl.GPBeanNode Class Reference

Inheritance diagram for cern.gp.nodes.impl.GPBeanNode:
cern.gp.nodes.impl.BeanNode cern.gp.nodes.GPNode cern.gp.nodes.cache.Cacheable

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 ()

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

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

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 (  ) 

Can this node be copied?

Returns:
false
boolean cern.gp.nodes.impl.GPBeanNode.canCut (  ) 

Can this node be cut?

Returns:
false
boolean cern.gp.nodes.impl.GPBeanNode.canDestroy (  ) 

Can this node be destroyed?

Returns:
false
boolean cern.gp.nodes.impl.GPBeanNode.canRename (  ) 

Can this node be renamed?

Returns:
false
Sheet cern.gp.nodes.impl.GPBeanNode.createSheet (  )  [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 (  ) 

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 (  ) 

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 (  ) 

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 (  ) 

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 (  ) 

Returns the NetBeans nodes representing this node

Parameters:
the NetBeans nodes representing this node

Implements cern.gp.nodes.GPNode.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties