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

JavadocForBinaryQuery.Result (NetBeans Java Support APIs) - NetBeans API Javadoc 5.0.0

 

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

Enclosing interface:
JavadocForBinaryQuery

public static interface JavadocForBinaryQuery.Result

Result of finding Javadoc, 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 Javadoc roots.
 void removeChangeListener(ChangeListener l)
          Remove a listener to changes in the roots.
 

Method Detail

getRoots

public URL[] getRoots()
Get the Javadoc roots. Each root should contain the main index.html, so that for a class pkg.Class the generated documentation would have a path pkg/Class.html relative to one of the roots.

Returns:
array of roots of Javadoc documentation (may be empty but not null)

addChangeListener

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

Parameters:
l - a listener to add

removeChangeListener

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

Parameters:
l - a listener to remove

 

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