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

BinaryForSourceQuery.Result (Java Support APIs) - NetBeans API Javadoc (Current Development Version)

org.netbeans.api.java/1 1.13

org.netbeans.api.java.queries
Interface BinaryForSourceQuery.Result

Enclosing class:
BinaryForSourceQuery

public static interface BinaryForSourceQuery.Result

Result of finding binaries, encapsulating the answer as well as the ability to listen to it.


Method Summary
 void addChangeListener(ChangeListener l)
          Add a listener to changes in the roots.
 URL[] getRoots()
          Get the binary roots.
 void removeChangeListener(ChangeListener l)
          Remove a listener to changes in the roots.
 

Method Detail

getRoots

URL[] getRoots()
Get the binary roots.

Returns:
array of roots of compiled classes (may be empty but not null)

addChangeListener

void addChangeListener(ChangeListener l)
Add a listener to changes in the roots.

Parameters:
l - a listener to add

removeChangeListener

void removeChangeListener(ChangeListener l)
Remove a listener to changes in the roots.

Parameters:
l - a listener to remove

org.netbeans.api.java/1 1.13

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