Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.explorer 6.5.22 1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.openide.explorer.view
Interface MenuView.Acceptor

Enclosing class:
  MenuView

Deprecated. This interface is almost the same as `NodeAcceptor` so it is redundant and obsoleted. Use `NodeAcceptor` interface instead.

    public static interface MenuView.Acceptor

Acceptor that can be passed to constructor of `MenuView.Menu`. It permits determination of which nodes should be accepted upon a click.

Method Summary
`boolean` | `accept(Node n)` Deprecated. whole interface is obsoleted, use `NodeAcceptor.acceptNodes(org.openide.nodes.Node[])` instead.

Method Detail

### accept

    boolean accept(Node n)

  Deprecated. whole interface is obsoleted, use `NodeAcceptor.acceptNodes(org.openide.nodes.Node[])` instead.

  Test whether to accept the node or not. Can also perform some actions (such as opening the node, etc.).

  Parameters:
    `n` - the node
  Returns:
    true if the `menu` should close

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.explorer 6.5.22 1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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