net.sourceforge.atunes.kernel.modules.contextInformation
Interface ContextInformationListener

All Known Implementing Classes:
ContextInformationServiceHandler

public interface ContextInformationListener

The listener interface for receiving context information events.


Method Summary
 java.util.List<AlbumInfo> getAlbums()
          Gets the albums.
 void notifyAlbumRetrieved(AudioObject file, long id)
          Notify album retrieved.
 void notifyArtistImage(java.awt.Image img, long id)
          Notify artist image.
 void notifyCoverRetrieved(AlbumInfo album, java.awt.Image cover, long id)
          Notify cover retrieved.
 void notifyFinishGetSimilarArtist(ArtistInfo a, java.awt.Image img, long id)
          Notify finish get similar artist.
 void notifyLyricsRetrieved(AudioObject audioObject, Lyrics lyrics, long id)
          Notify lyrics retrieved.
 void notifyStartRetrievingArtistImages(long id)
          Notify start retrieving artist images.
 void notifyStartRetrievingCovers(long id)
          Notify start retrieving covers.
 void notifyWikiInfoRetrieved(java.lang.String wikiText, java.lang.String wikiURL, long id)
          Notify wiki info retrieved.
 void setAlbum(AlbumInfo album, long id)
          Sets the album.
 void setAlbums(java.util.List<? extends AlbumInfo> album, long id)
          Sets the albums.
 void setImage(java.awt.Image img, AudioObject ao, long id)
          Sets the image.
 void setLastAlbumRetrieved(java.lang.String album, long id)
          Sets the last album retrieved.
 void setLastArtistRetrieved(java.lang.String artist, long id)
          Sets the last artist retrieved.
 

Method Detail

getAlbums

java.util.List<AlbumInfo> getAlbums()
Gets the albums.

Returns:
the albums

notifyAlbumRetrieved

void notifyAlbumRetrieved(AudioObject file,
                          long id)
Notify album retrieved.

Parameters:
file - the file
id - the id

notifyArtistImage

void notifyArtistImage(java.awt.Image img,
                       long id)
Notify artist image.

Parameters:
img - the img
id - the id

notifyCoverRetrieved

void notifyCoverRetrieved(AlbumInfo album,
                          java.awt.Image cover,
                          long id)
Notify cover retrieved.

Parameters:
album - the album
cover - the cover
id - the id

notifyFinishGetSimilarArtist

void notifyFinishGetSimilarArtist(ArtistInfo a,
                                  java.awt.Image img,
                                  long id)
Notify finish get similar artist.

Parameters:
a - the a
img - the img
id - the id

notifyStartRetrievingArtistImages

void notifyStartRetrievingArtistImages(long id)
Notify start retrieving artist images.

Parameters:
id - the id

notifyStartRetrievingCovers

void notifyStartRetrievingCovers(long id)
Notify start retrieving covers.

Parameters:
id - the id

notifyWikiInfoRetrieved

void notifyWikiInfoRetrieved(java.lang.String wikiText,
                             java.lang.String wikiURL,
                             long id)
Notify wiki info retrieved.

Parameters:
wikiText - the wiki text
wikiURL - the wiki url
id - the id

notifyLyricsRetrieved

void notifyLyricsRetrieved(AudioObject audioObject,
                           Lyrics lyrics,
                           long id)
Notify lyrics retrieved.

Parameters:
audioObject - the audio object
lyrics - the lyrics
id - the id

setAlbum

void setAlbum(AlbumInfo album,
              long id)
Sets the album.

Parameters:
album - the album
id - the id

setAlbums

void setAlbums(java.util.List<? extends AlbumInfo> album,
               long id)
Sets the albums.

Parameters:
album - the album
id - the id

setImage

void setImage(java.awt.Image img,
              AudioObject ao,
              long id)
Sets the image.

Parameters:
img - the img
ao - audio object
id - the id

setLastAlbumRetrieved

void setLastAlbumRetrieved(java.lang.String album,
                           long id)
Sets the last album retrieved.

Parameters:
album - the album
id - the id

setLastArtistRetrieved

void setLastArtistRetrieved(java.lang.String artist,
                            long id)
Sets the last artist retrieved.

Parameters:
artist - the artist
id - the id


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.