Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.nodes 6.7.22
PREV NEXT | FRAMES NO FRAMES

# NetBeans Nodes API

See:
Description

Nodes API
org.openide.cookies | Cookies are a design pattern used to add behaviors to existing data object and nodes, or to separate implementation from the main object.
org.openide.nodes | The IDE uses nodes to represent JavaBeans or other property containers, formed into a hierarchical tree.
org.openide.util.actions |

### What is New (see all changes)?

- Jul 14 '05 AbstractNode allows using different icon extensions

  Adding possibility for `AbstractNode` to use PNG files as icons. Adding new final method `setIconBaseWithExtension(String baseExt)` which replaces the original method for manipulating icon base, `setIconBase(String)`. The original (now deprecated) method stil works the same way, using `".gif"` as extension The original method `setIconBase(String)` delegates to the new one, using the default extension.

- Feb 13 '04 FilterNode allows controlling delegation of getValue/setValue calls

  From this version, the FilterNode by default delegates all `getValue(String)` and `setValue(String, Object)` calls the to the original node. Also, FilterNode now exports two new constants, `FilterNode.DELEGATE_SET_VALUE` and `FilterNode.DELEGATE_GET_VALUE`, which can be used to control the delegation of the above mentioned methods.

- Jul 16 '03 InplaceEditor interface added to APIs, some deprecations in property sheet rewrite

  New interface that allows a property editor to supply an inline editor for the new property sheet added, as part of merging the new property sheet. A method, registerInplaceEditorFactory() has been added to PropertyEnv to allow modules to supply an inplace editor globally for all properties of a given type; also, Node.Property objects may supply a custom inplace editor instance via the hint "inplaceEditor" in getValue(String).

  PropertySheetSettings is an old SystemOption subclass that offers settings that affect the display of the property sheet. These settings are irrelevant to the new property sheet.

  In order to provide some performance optimizations, it was necessary to un-final the class PropertyEnv. However, it should be treated as final outside the package - there should never be a need to subclass it. A note has been added to its javadoc to this effect.

  A non-normative hint may now be supplied by instances of Node.PropertySet to return a localized display name for a tab which the property sheet should use for displaying that and any other property sets which share the name: "tabName".

- Apr 7 '03 New FilterNode constructor that takes Lookup

  Allows users of FilterNode to provide own specific lookup.

- Feb 26 '03 Returning value of NodeOp.findActions method refined

  The utility method `NodeOp.findActions(Nodep[])` is changed the way it returns an empty array instead of null (for the cases there are no actions found). Also javadoc is refined in that sense.

### Use Cases

### Exported Interfaces

This table lists all of the module exported APIs with defined stability classifications. It is generated based on answers to questions about the architecture of the module. Read them all...

##### Group of java interfaces

Interface Name | In/Out | Stability | Specified in What Document?
NodesAPI | Exported | Official | .../org/openide/nodes/doc-files/api.html

##### Group of property interfaces

Interface Name | In/Out | Stability | Specified in What Document?
propertiesHelpID | Exported | Stable | For providing help sets for JavaBeans proerties
expertHelpID | Exported | Stable | For providing help sets for JavaBeans properties

### Implementation Details

Read more about the implementation in the answers to architecture questions.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.nodes 6.7.22
PREV NEXT | FRAMES NO FRAMES

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.