站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.5.1

NodeAcceptor (NetBeans Nodes API) - NetBeans API Javadoc 5.5.1

org.openide.nodes 6.7.31

org.openide.nodes
Interface NodeAcceptor


public interface NodeAcceptor

Discriminator accepting only certain sets of nodes.

Currently used in NodeOperation.select(java.lang.String, java.lang.String, org.openide.nodes.Node, org.openide.nodes.NodeAcceptor, java.awt.Component) to find out if the currently selected beans are valid or not.


Method Summary
 boolean acceptNodes(Node[] nodes)
          Is the set of nodes acceptable?
 

Method Detail

acceptNodes

boolean acceptNodes(Node[] nodes)
Is the set of nodes acceptable?

Parameters:
nodes - the nodes to consider
Returns:
true if so

org.openide.nodes 6.7.31

Built on March 26 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.