|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.atunes.kernel.controllers.model.Controller
net.sourceforge.atunes.kernel.controllers.model.PanelController<AudioScrobblerPanel>
net.sourceforge.atunes.kernel.controllers.audioScrobbler.AudioScrobblerController
public class AudioScrobblerController
The Class AudioScrobblerController.
Constructor Summary | |
---|---|
AudioScrobblerController(AudioScrobblerPanel panel)
Instantiates a new audio scrobbler controller. |
Method Summary | |
---|---|
protected void |
addBindings()
Adds the bindings. |
protected void |
addStateBindings()
Adds the state bindings. |
void |
clear(boolean clearArtistAndSimilar)
Clear. |
void |
clearAlbumsContainer()
Clear albums container. |
void |
clearSimilarArtistsContainer()
Clear similar artists container. |
protected void |
copyToClipboard()
Copies current lyric to clipboard. |
protected AudioScrobblerPanel |
getPanelControlled()
Gets the panel controlled. |
void |
notifyArtistImage(java.awt.Image img)
Notify artist image. |
void |
notifyFinishGetAlbumInfo(java.lang.String artist,
AudioScrobblerAlbum album,
java.awt.Image img)
Notify finish get album info. |
void |
notifyFinishGetAlbumsInfo(AudioScrobblerAlbum album,
java.awt.Image cover)
Notify finish get albums info. |
void |
notifyFinishGetSimilarArtist(AudioScrobblerArtist artist,
java.awt.Image img)
Notify finish get similar artist. |
void |
notifyPodcast(PodcastFeedEntry entry)
Notify podcast. |
void |
notifyRadio(Radio radio)
Notify radio. |
protected void |
notifyReload()
Notify reload. |
void |
searchForVideo()
Opens a navigator to search for video. |
void |
setAudioObjectInfo(AudioObject audioObject)
Sets the audio object info |
void |
setLyrics(AudioObject audioObject,
java.lang.String lyrics)
Sets the lyrics. |
void |
setWikiInformation(java.lang.String wikiText,
java.lang.String wikiURL)
Sets the wiki information. |
void |
showAllTabsDisabled()
Delegate method to show all tabs disabled |
void |
updatePanel(AudioObject ao)
Updates panel with audio object information. |
Methods inherited from class net.sourceforge.atunes.kernel.controllers.model.Controller |
---|
getLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AudioScrobblerController(AudioScrobblerPanel panel)
panel
- the panelMethod Detail |
---|
protected void addBindings()
Controller
addBindings
in class Controller
protected void addStateBindings()
Controller
addStateBindings
in class Controller
public void clear(boolean clearArtistAndSimilar)
clearArtistAndSimilar
- the clear artist and similarpublic void clearAlbumsContainer()
public void clearSimilarArtistsContainer()
protected void copyToClipboard()
protected AudioScrobblerPanel getPanelControlled()
getPanelControlled
in class PanelController<AudioScrobblerPanel>
public void notifyArtistImage(java.awt.Image img)
img
- the imgpublic void notifyFinishGetAlbumInfo(java.lang.String artist, AudioScrobblerAlbum album, java.awt.Image img)
artist
- the artistalbum
- the albumimg
- the imgpublic void notifyFinishGetAlbumsInfo(AudioScrobblerAlbum album, java.awt.Image cover)
album
- the albumcover
- the coverpublic void notifyFinishGetSimilarArtist(AudioScrobblerArtist artist, java.awt.Image img)
artist
- the artistimg
- the imgpublic void notifyPodcast(PodcastFeedEntry entry)
entry
- the entrypublic void notifyRadio(Radio radio)
radio
- the radioprotected void notifyReload()
Controller
notifyReload
in class Controller
public void searchForVideo()
public void setAudioObjectInfo(AudioObject audioObject)
audioObject
- the audio objectpublic void setLyrics(AudioObject audioObject, java.lang.String lyrics)
audioObject
- the audio objectlyrics
- the lyricspublic void setWikiInformation(java.lang.String wikiText, java.lang.String wikiURL)
wikiText
- the wiki textwikiURL
- the wiki urlpublic void updatePanel(AudioObject ao)
ao
- the audio objectpublic void showAllTabsDisabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |