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 () |
<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.
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
boolean cern.gp.nodes.impl.GPBeanNode.canCopy | ( | ) |
Can this node be copied?
false
boolean cern.gp.nodes.impl.GPBeanNode.canCut | ( | ) |
Can this node be cut?
false
boolean cern.gp.nodes.impl.GPBeanNode.canDestroy | ( | ) |
Can this node be destroyed?
false
boolean cern.gp.nodes.impl.GPBeanNode.canRename | ( | ) |
Can this node be renamed?
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.
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
null
HelpCtx cern.gp.nodes.impl.GPBeanNode.getHelpCtx | ( | ) |
Get context help associated with this node.
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.
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.
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
the | NetBeans nodes representing this node |
Implements cern.gp.nodes.GPNode.