| Constructor and Description |
|---|
GPBeanNode(java.lang.Object bean)
Creates a new GPBeanNode based on the given bean with no children
The new node is therefore a leaf.
|
GPBeanNode(java.lang.Object bean,
ChildrenManager childrenManager)
Creates a new GPBeanNode based on the given bean and on the given children
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCopy()
Can this node be copied?
|
boolean |
canCut()
Can this node be cut?
|
boolean |
canDestroy()
Can this node be destroyed?
|
boolean |
canRename()
Can this node be renamed?
|
protected Sheet |
createSheet()
Initialize a default
property sheet; commonly overridden.
|
Node.Handle |
getHandle()
Get a serializable handle for this node.
|
HelpCtx |
getHelpCtx()
Get context help associated with this node.
|
NodeCollection |
getNodeCollection()
Returns the children of this node.
|
GPNode |
getParent()
Returns the parent node of this node.
|
Node |
getPeerNode()
Returns the NetBeans nodes representing this node
|
createActions, createProperties, destroy, getBean, getCustomizer, getIcon, getOpenedIcon, getPreferredAction, hasCustomizer, resetCachepublic GPBeanNode(java.lang.Object bean)
throws java.beans.IntrospectionException
java.beans.IntrospectionExceptionpublic GPBeanNode(java.lang.Object bean,
ChildrenManager childrenManager)
throws java.beans.IntrospectionException
java.beans.IntrospectionExceptionBeanNode.BeanNode(Object, Children)public HelpCtx getHelpCtx()
null or HelpCtx#DEFAULT_HELP)public boolean canRename()
falsepublic boolean canDestroy()
falsepublic boolean canCopy()
falsepublic boolean canCut()
falsepublic Node.Handle getHandle()
nullpublic NodeCollection getNodeCollection()
GPNodegetNodeCollection in interface GPNodepublic Node getPeerNode()
GPNodegetPeerNode in interface GPNodepublic GPNode getParent()
GPNodeprotected Sheet createSheet()
#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)