Public Member Functions | |
String | getName () |
Object | getBean () |
boolean | isLeaf () |
NodeCollection | getNodeCollection () |
GPNode | getParent () |
Node | getPeerNode () |
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.
Object cern.gp.nodes.GPNode.getBean | ( | ) |
Returns the bean this node is based upon
Implemented in cern.gp.nodes.impl.GPFilterNode.
Referenced by cern.gp.nodes.children.BeanComparatorAdapter.compare(), cern.gp.nodes.impl.GPFilterNode.getBean(), cern.gp.explorer.properties.PropertyDialog.PropertyDialog(), cern.gp.explorer.properties.PropertyField.PropertyField(), and cern.gp.explorer.properties.ReversiblePropertyField.ReversiblePropertyField().
String cern.gp.nodes.GPNode.getName | ( | ) |
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.
Implemented in cern.gp.nodes.impl.GPBeanNode, and cern.gp.nodes.impl.GPFilterNode.
Referenced by cern.gp.explorer.GPListExplorerPanel.getListNodes(), and cern.gp.nodes.impl.GPFilterNode.getNodeCollection().
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.
the | parent node of this node or null |
Implemented in cern.gp.nodes.impl.GPBeanNode, and cern.gp.nodes.impl.GPFilterNode.
Referenced by cern.gp.nodes.impl.GPFilterNode.getParent(), and cern.gp.nodes.impl.NodeUtils.haveOneCommonParent().
Node cern.gp.nodes.GPNode.getPeerNode | ( | ) |
Returns the NetBeans nodes representing this node
the | NetBeans nodes representing this node |
Implemented in cern.gp.nodes.impl.GPBeanNode, and cern.gp.nodes.impl.GPFilterNode.
Referenced by cern.gp.nodes.impl.GPFilterNode.getPeerNode(), cern.gp.nodes.impl.GPFilterNode.GPFilterNode(), cern.gp.explorer.properties.PropertyDialog.PropertyDialog(), cern.gp.explorer.properties.PropertyField.PropertyField(), cern.gp.explorer.properties.ReversiblePropertyField.ReversiblePropertyField(), cern.gp.explorer.TreeExplorer.setRootNode(), cern.gp.explorer.MultiListExplorer.setRootNode(), cern.gp.explorer.GPListExplorerPanel.setRootNode(), and cern.gp.explorer.TableHolderImpl.setTableColumns().
boolean cern.gp.nodes.GPNode.isLeaf | ( | ) |
Test whether the node is a leaf, or may contain children.