public static interface LibraryChooser.Panel
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).Modifier and Type | Field and Description |
---|---|
static String |
PROP_SELECTED_LIBRARIES
Property fired when
LibraryChooser.Panel.getSelectedLibraries() changes. |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Add a listener for
LibraryChooser.Panel.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.
|
static final String PROP_SELECTED_LIBRARIES
LibraryChooser.Panel.getSelectedLibraries()
changes.
Do not expect the old and new values to be non-null.Component getVisualComponent()
Set<Library> getSelectedLibraries()
void addPropertyChangeListener(PropertyChangeListener listener)
LibraryChooser.Panel.PROP_SELECTED_LIBRARIES
.listener
- the listener to addvoid removePropertyChangeListener(PropertyChangeListener listener)
listener
- the listener to remove