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

NodeAcceptor (NetBeans Nodes API) - NetBeans API Javadoc 5.0.0

 

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

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

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

 

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