org.netbeans.modules.project.libraries/1 1.29.1

org.netbeans.api.project.libraries
Interface LibraryChooser.Panel

Enclosing class:
LibraryChooser

public static interface LibraryChooser.Panel

Represents operations permitted by LibraryChooser.createPanel(org.netbeans.api.project.libraries.LibraryManager, org.netbeans.api.project.libraries.LibraryChooser.Filter). Not to be implemented by foreign code (methods may be added in the future).


Field Summary
static String PROP_SELECTED_LIBRARIES
          Property fired when getSelectedLibraries() changes.
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
          Add a listener for PROP_SELECTED_LIBRARIES.
 Set<Library> getSelectedLibraries()
          Gets the set of libraries which are currently selected.
 Component getVisualComponent()
          Produces the actual component you can display.
 void removePropertyChangeListener(PropertyChangeListener listener)
          Remove a listener.
 

Field Detail

PROP_SELECTED_LIBRARIES

static final String PROP_SELECTED_LIBRARIES
Property fired when getSelectedLibraries() changes. Do not expect the old and new values to be non-null.

See Also:
Constant Field Values
Method Detail

getVisualComponent

Component getVisualComponent()
Produces the actual component you can display.

Returns:
an embeddable GUI component

getSelectedLibraries

Set<Library> getSelectedLibraries()
Gets the set of libraries which are currently selected.

Returns:
a (possibly empty) set of libraries

addPropertyChangeListener

void addPropertyChangeListener(PropertyChangeListener listener)
Add a listener for PROP_SELECTED_LIBRARIES.

Parameters:
listener - the listener to add

removePropertyChangeListener

void removePropertyChangeListener(PropertyChangeListener listener)
Remove a listener.

Parameters:
listener - the listener to remove

org.netbeans.modules.project.libraries/1 1.29.1

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.