Package com.tagtraum.beatunes.songinfo
Class SongIcon
- java.lang.Object
-
- com.tagtraum.beatunes.songinfo.SongIcon
-
- All Implemented Interfaces:
CoverImages
public class SongIcon extends Object implements CoverImages
SongIcon.- Author:
- Hendrik Schreiber
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
finalize()
BeaTunes
getApplication()
AudioArtwork
getBackCoverArtwork(AudioSong song, ImageObserver imageObserver)
AudioArtwork
getFrontCoverArtwork(AudioSong song, ImageObserver imageObserver)
ImageIcon
getIcon(int width, AudioSong song)
ImageIcon
getIcon(AudioSong song)
AudioArtwork
getPlaceHolder()
void
invalidateCache(AudioSong song)
boolean
isFetchImagesOnline()
void
setApplication(BeaTunes beaTunes)
void
setFetchImagesOnline(boolean fetchImagesOnline)
void
startBackgroundFetching()
void
stopBackgroundFetching()
void
stopLoader()
Stops the background thread loading images.
-
-
-
Constructor Detail
-
SongIcon
public SongIcon(BeaTunes application)
-
-
Method Detail
-
isFetchImagesOnline
public boolean isFetchImagesOnline()
-
setFetchImagesOnline
public void setFetchImagesOnline(boolean fetchImagesOnline)
-
stopLoader
public void stopLoader()
Stops the background thread loading images.
-
stopBackgroundFetching
public void stopBackgroundFetching()
-
startBackgroundFetching
public void startBackgroundFetching()
-
getApplication
public BeaTunes getApplication()
-
setApplication
public void setApplication(BeaTunes beaTunes)
-
invalidateCache
public void invalidateCache(AudioSong song)
- Specified by:
invalidateCache
in interfaceCoverImages
-
getPlaceHolder
public AudioArtwork getPlaceHolder()
- Specified by:
getPlaceHolder
in interfaceCoverImages
-
getFrontCoverArtwork
public AudioArtwork getFrontCoverArtwork(AudioSong song, ImageObserver imageObserver)
- Specified by:
getFrontCoverArtwork
in interfaceCoverImages
-
getBackCoverArtwork
public AudioArtwork getBackCoverArtwork(AudioSong song, ImageObserver imageObserver)
- Specified by:
getBackCoverArtwork
in interfaceCoverImages
-
-