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

Quick Search    Search Deep

com.virtuosotechnologies.asaph.maingui
Class SongSelectionEvent  view SongSelectionEvent download SongSelectionEvent.java

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

public class SongSelectionEvent
extends java.util.EventObject

The selection in the song list has changed.


Field Summary
private  com.virtuosotechnologies.asaph.model.SongDatabase database_
           
private  java.util.Collection nSelection_
           
private  java.util.Collection oSelection_
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SongSelectionEvent(java.lang.Object source, com.virtuosotechnologies.asaph.model.SongDatabase database, java.util.Collection oSelection, java.util.Collection nSelection)
          Constructor
 
Method Summary
 com.virtuosotechnologies.asaph.model.SongDatabase getDatabase()
          Get the database containing the selected songs
 java.util.Collection getNewSelection()
          Get the collection of SongIDs now selected
 java.util.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
 

Field Detail

database_

private com.virtuosotechnologies.asaph.model.SongDatabase database_

oSelection_

private java.util.Collection oSelection_

nSelection_

private java.util.Collection nSelection_
Constructor Detail

SongSelectionEvent

public SongSelectionEvent(java.lang.Object source,
                          com.virtuosotechnologies.asaph.model.SongDatabase database,
                          java.util.Collection oSelection,
                          java.util.Collection nSelection)
Constructor

Method Detail

getDatabase

public com.virtuosotechnologies.asaph.model.SongDatabase getDatabase()
Get the database containing the selected songs


getOldSelection

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


getNewSelection

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