Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.virtuosotechnologies.asaph.maingui
Interface SelectionManager  view SelectionManager download SelectionManager.java

All Known Implementing Classes:
ListsImpl

public interface SelectionManager

The selection manager API exported by the maingui plugin


Field Summary
static java.lang.String API_NAME
          The name of this API.
 
Method Summary
 void addSelectionListener(SelectionListener listener)
          Add a SelectionListener to the main gui.
 com.virtuosotechnologies.asaph.model.SongDatabase getSelectedDatabase()
          Get the currently selected database.
 java.util.Set getSelectedSongSet()
          Get the Set of currently selected songs.
 void removeSelectionListener(SelectionListener listener)
          Remove a SelectionListener from the main gui.
 void selectDatabase(com.virtuosotechnologies.asaph.model.SongDatabase database)
          Select the specified database in the gui.
 

Field Detail

API_NAME

public static final java.lang.String API_NAME
The name of this API.

See Also:
Constant Field Values
Method Detail

getSelectedDatabase

public com.virtuosotechnologies.asaph.model.SongDatabase getSelectedDatabase()
Get the currently selected database.


getSelectedSongSet

public java.util.Set getSelectedSongSet()
Get the Set of currently selected songs.


selectDatabase

public void selectDatabase(com.virtuosotechnologies.asaph.model.SongDatabase database)
Select the specified database in the gui.


addSelectionListener

public void addSelectionListener(SelectionListener listener)
Add a SelectionListener to the main gui. Note that it is added as a weak listener, so make sure it is strongly referenced elsewhere.


removeSelectionListener

public void removeSelectionListener(SelectionListener listener)
Remove a SelectionListener from the main gui. Does nothing if the listener is not added.