Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.api.java/1 1.10.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.netbeans.api.java.queries
Interface SourceForBinaryQuery.Result

Enclosing class:
  SourceForBinaryQuery

    public static interface SourceForBinaryQuery.Result

Result of finding sources, 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.
`FileObject[]` | `getRoots()` Get the source roots.
`void` | `removeChangeListener(ChangeListener l)` Remove a listener to changes in the roots.

Method Detail

### getRoots

    FileObject[] getRoots()

  Get the source roots.

  Returns:
    array of roots of sources (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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.api.java/1 1.10.22
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.