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 voidfinalize()BeaTunesgetApplication()AudioArtworkgetBackCoverArtwork(AudioSong song, ImageObserver imageObserver)AudioArtworkgetFrontCoverArtwork(AudioSong song, ImageObserver imageObserver)ImageIcongetIcon(int width, AudioSong song)ImageIcongetIcon(AudioSong song)AudioArtworkgetPlaceHolder()voidinvalidateCache(AudioSong song)booleanisFetchImagesOnline()voidsetApplication(BeaTunes beaTunes)voidsetFetchImagesOnline(boolean fetchImagesOnline)voidstartBackgroundFetching()voidstopBackgroundFetching()voidstopLoader()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:
invalidateCachein interfaceCoverImages
-
getPlaceHolder
public AudioArtwork getPlaceHolder()
- Specified by:
getPlaceHolderin interfaceCoverImages
-
getFrontCoverArtwork
public AudioArtwork getFrontCoverArtwork(AudioSong song, ImageObserver imageObserver)
- Specified by:
getFrontCoverArtworkin interfaceCoverImages
-
getBackCoverArtwork
public AudioArtwork getBackCoverArtwork(AudioSong song, ImageObserver imageObserver)
- Specified by:
getBackCoverArtworkin interfaceCoverImages
-
-