|
||||||||||
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<ContextInformationPanel>
net.sourceforge.atunes.kernel.controllers.contextInformation.ContextInformationPanelController
public class ContextInformationPanelController
The Class ContextInformationPanelController.
Constructor Summary | |
---|---|
ContextInformationPanelController(ContextInformationPanel 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 ContextInformationPanel |
getPanelControlled()
Gets the panel controlled. |
void |
notifyArtistImage(java.awt.Image img)
Notify artist image. |
void |
notifyFinishGetAlbumInfo(java.lang.String artist,
AlbumInfo album,
java.awt.Image img)
Notify finish get album info. |
void |
notifyFinishGetAlbumsInfo(AlbumInfo album,
java.awt.Image cover)
Notify finish get albums info. |
void |
notifyFinishGetSimilarArtist(ArtistInfo 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 |
setAudioObjectInfo(AudioObject audioObject)
Sets the audio object info |
void |
setLyrics(AudioObject audioObject,
Lyrics lyrics)
Sets the lyrics. |
void |
setSelectedIndex(int index)
|
void |
setWikiInformation(java.lang.String wikiText,
java.lang.String wikiURL)
Sets the wiki information. |
void |
showAllTabs(boolean b)
|
void |
showAllTabs(java.lang.String firstTabTitle,
javax.swing.ImageIcon firstTabIcon,
boolean enabled)
|
void |
showAllTabsDisabled()
Delegate method to show all tabs disabled |
void |
showFirstTab(java.lang.String string,
javax.swing.ImageIcon icon)
|
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 ContextInformationPanelController(ContextInformationPanel 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 ContextInformationPanel getPanelControlled()
getPanelControlled
in class PanelController<ContextInformationPanel>
public void notifyArtistImage(java.awt.Image img)
img
- the imgpublic void notifyFinishGetAlbumInfo(java.lang.String artist, AlbumInfo album, java.awt.Image img)
artist
- the artistalbum
- the albumimg
- the imgpublic void notifyFinishGetAlbumsInfo(AlbumInfo album, java.awt.Image cover)
album
- the albumcover
- the coverpublic void notifyFinishGetSimilarArtist(ArtistInfo 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 setAudioObjectInfo(AudioObject audioObject)
audioObject
- the audio objectpublic void setLyrics(AudioObject audioObject, Lyrics 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 showAllTabsDisabled()
public void showFirstTab(java.lang.String string, javax.swing.ImageIcon icon)
public void showAllTabs(java.lang.String firstTabTitle, javax.swing.ImageIcon firstTabIcon, boolean enabled)
public void showAllTabs(boolean b)
public void setSelectedIndex(int index)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |