com.virtuosotechnologies.asaph.maingui
Class SongSelectionEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.virtuosotechnologies.asaph.maingui.SongSelectionEvent
All Implemented Interfaces:
Serializable

public class SongSelectionEvent
extends EventObject

The selection in the song list has changed.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SongSelectionEvent(Object source, SongDatabase database, Collection oSelection, Collection nSelection)
          Constructor
 
Method Summary
 SongDatabase getDatabase()
          Get the database containing the selected songs
 Collection getNewSelection()
          Get the collection of SongIDs now selected
 Collection getOldSelection()
          Get the collection of SongIDs previously selected
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SongSelectionEvent

public SongSelectionEvent(Object source,
                          SongDatabase database,
                          Collection oSelection,
                          Collection nSelection)
Constructor

Method Detail

getDatabase

public SongDatabase getDatabase()
Get the database containing the selected songs


getOldSelection

public Collection getOldSelection()
Get the collection of SongIDs previously selected


getNewSelection

public Collection getNewSelection()
Get the collection of SongIDs now selected