Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.explorer 6.5.22 1
PREV NEXT | FRAMES NO FRAMES

# NetBeans Explorer API

See:
Description

Explorer API
org.openide.explorer | Many different UI components of the IDE are actually Explorer views of nodes.
org.openide.explorer.propertysheet | The exact properties of a node may be displayed and edited with the Property Sheet.
org.openide.explorer.propertysheet.editors |
org.openide.explorer.view | The Explorer is really an abstraction that needs a view to actually display the nodes.

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

- Apr 29 '05 Dragging uses Node.drag and ExClipboard.convert

  When doing drag and drop of nodes from explorer to another place in explorer the Node.drag method is called when doing copy and in both cases of copy or move the ExClipboard.convert method is called for Transferable containing all the nodes, so one can wrap the whole transfer with pre and post operations.

- Mar 30 '05 Added a new `ColumnMnemonicCharTTV` property to `NodeTableModel`

  The new property allows you to specify a mnemonic character for display names of `TreeTableView` columns.

- Mar 18 '05 One can specify separator for property editor for `String[]`

  One can specify an item separator for properties using string array editor. For example following code:

                 Node.Property np = new Node.Property (String[].class, ...);
                 np.setValue ("item.separator", "-");

  separates items returned from `getAsText` and parsed by `setAsText` by -. List of supported parameters can be found here.
- Mar 11 '05 Nodes in explorer can supress default confirmation dialog during delete operation

  Nodes that need to supress default confirmation dialog shown during delete action can do this if they return `Boolean.TRUE` from `Node.getValue(String)` for attribute customDelete.

- Aug 25 '04 Fixed `TreeView.drag/dropActive` switcher

  The methods `TreeView.setDragSource(boolean)` and `TreeView.setDropTarget` can set drag/dropActive on/off. The drag source and drop target are enabled by default. Before the views were forced to be drag/drop active no matter what state was set.

### 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?
ExplorerAPI | Exported | Official | .../org/openide/explorer/doc-files/api.html
TreeTableViewSortingAPI | Exported | Friend |

##### Group of property interfaces

Interface Name | In/Out | Stability | Specified in What Document?
netbeans.dnd.enabled | Exported | Private | Checks by Drag & Drop support for views. True is regard as default (no matter what jdk's version). False value disallows Drag & Drop in all views.
customDelete | Exported | Under Development | Nodes returing Boolean.TRUE from getValue("customDelete") are assumed to provide their own confirmation dialog for delete action and explorer will not show default one when they are deleted.

### Implementation Details

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.explorer 6.5.22 1
PREV NEXT | FRAMES NO FRAMES

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