org.openide.nodes |
NetBeans uses
nodes
to represent JavaBeans or other property containers, formed into a
hierarchical tree.
These nodes are used extensively for building the UI,
especially the Explorer. Using the
Nodes API,
it is possible to create a variety of custom nodes and entire
subhierarchies, and manipulate and search existing nodes. In
conjunction with the
Datasystems API,
nodes may also represent persistent data and can present the user
interface to this data. Cookies may also be attached to nodes.
|
Java Source File Name | Type | Comment |
AbstractNode.java | Class | A basic implementation of a node.
It simplifies creation of the display name, based on a message
format and the system name. |
AbstractNodeTest.java | Class | A test for icon loading only so far. |
AddRemoveNotifyRaceConditionTest.java | Class | |
AsynchChildren.java | Class | Children object which creates its keys on a background thread. |
BadBeanHidden.java | Class | |
Bean21341Hidden.java | Class | |
Bean21341HiddenBeanInfo.java | Class | |
BeanChildren.java | Class | Class that represents bean children of a JavaBeans context.
It listens on the bean context changes and creates nodes for
child beans. |
BeanChildrenTest.java | Class | Test updating of bean children in proper circumstances, e.g. |
BeanNode.java | Class | Represents a JavaBeans component as a node.
You may use this node type for an already-existing JavaBean (possibly
using BeanContext) in order for its JavaBean properties to be reflected
as corresponding node properties. |
BeanNodeBug21285.java | Class | |
BeanNodeBug21341.java | Class | |
BeanNodeTest.java | Class | Test updating of bean children in proper circumstances, e.g. |
ChildFactory.java | Class | Factory used to create Children
objects. |
ChildFactoryTest.java | Class | Test for AsynchChildren, ChildFactory and SynchChildren. |
Children.java | Class | Factory for the child Nodes of a Node. |
ChildrenArray.java | Class | Holder of nodes for a children object. |
ChildrenArrayNodeAtShouldNotBeSlowTest.java | Class | If using Children.Array the node.getChildren().getNodeAt(int) used to iterate slowly. |
ChildrenArrayTest.java | Class | Test Children.Array. |
ChildrenFilterAsArrayTest.java | Class | Test whether Children.Keys inherited all functionality from Children.Array. |
ChildrenFilterAsKeysTest.java | Class | |
ChildrenKeysAsArrayTest.java | Class | Test whether Children.Keys inherited all functionality from Children.Array. |
ChildrenKeysGarbageCollectTest.java | Class | |
ChildrenKeysIssue30907Test.java | Class | |
ChildrenKeysTest.java | Class | |
CookieSet.java | Class | Support class for storing cookies and
retriving them by representation class. |
CookieSetCompatibilityTest.java | Class | Checks whether modified behaviour of cookie set is the same as
behaviour of the old one. |
CookieSetLkp.java | Class | Content for a cookie set. |
CookieSetTest.java | Class | Tests behaviour of CookieSet. |
DefaultHandle.java | Class | Simple implementation of Node.Handle .
When created by
DefaultHandle.createHandle it
looks for the parent of the node and stores the node's name.
When
DefaultHandle.getNode is then called, it tries to restore the
parent and then to walk down to the child.
Note that if most nodes use DefaultHandle , this
may walk up to the root recursively. |
FilterChildrenEventsTest.java | Class | Test updating of bean children in proper circumstances, e.g. |
FilterNode.java | Class | A proxy for another node.
Unless otherwise mentioned, all methods of the original node are delegated to.
If desired, you can disable delegation of certain methods which are concrete in Node
by calling
FilterNode.disableDelegation .
Note: it is fine to subclass this class and use
it to filter things. |
FilterNodeTest.java | Class | A test to check behavior of filter node. |
Index.java | Interface | Index cookie providing operations useful for reordering
child nodes. |
IndexedCustomizer.java | Class | A dialog for reordering nodes. |
IndexedNode.java | Class | An implementation of a node that has children and
supports reordering by providing Index implementor. |
IndexedPropertySupport.java | Class | Support for indexed properties. |
Node.java | Class | A node represents one element in a hierarchy of objects (beans).
It provides all methods that are needed for communication between
an explorer view and the bean.
The node has three purposes:
- visually represent the object in the tree hierarchy (i.e.
|
NodeAcceptor.java | Interface | Discriminator accepting only certain sets of nodes. |
NodeAdapter.java | Class | Empty adapter for NodeListener . |
NodeEvent.java | Class | Event describing a change in a node. |
NodeHtmlTest.java | Class | |
NodeListener.java | Interface | Listener to special changes in Node s. |
NodeListenerTest.java | Class | |
NodeLookup.java | Class | A lookup that represents content of a Node.getCookie and the node itself. |
NodeLookupTest.java | Class | |
NodeMemberEvent.java | Class | Event describing change in the list of a node's children. |
NodeNotFoundException.java | Class | Exception indicating that a node could not be found while
traversing a path from the root. |
NodeOp.java | Class | Utility class for operations on nodes. |
NodeOperation.java | Class | Provides common operations on nodes. |
NodeOpTest.java | Class | Checking some of the behaviour of Node. |
NodeProperty51907Test.java | Class | Tests for issue 51907. |
NodeReorderEvent.java | Class | Event describing change in the list of a node's children. |
NodeTest.java | Class | Checking some of the behaviour of Node (and AbstractNode). |
NodeTransfer.java | Class | Class that contains specific datatransfer flavors and methods to work with
nodes. |
OpenAction.java | Class | Action to be used by tests. |
PropertiesTest.java | Class | |
PropertySupport.java | Class | Support class for Node.Property . |
SetChildrenTest.java | Class | |
Sheet.java | Class | Support for creation of property sets. |
SheetTest.java | Class | |
SynchChildren.java | Class | Synchronous children implementation that takes a ChildFactory. |
TMUtil.java | Class | Class that serves as interface to various parts of OpenAPIs that need
not be present. |