Package com.tagtraum.beatunes.songtable
Interface SongContextView
-
- All Superinterfaces:
ApplicationComponent<BeaTunes>,View
public interface SongContextView extends ApplicationComponent<BeaTunes>, View
Interface for plugins to implement for a view that is shown just below the main song table. By implementing this interface one can achieve pretty much the same as with inheriting fromSongContextComponent, without having to drag around the legacy of that class.- Author:
- Hendrik Schreiber
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetShowHideActionId()Id for the action that will show/hide this view.voidupdate(AudioSong selectedSong)Is called when this view should be updated.-
Methods inherited from interface com.tagtraum.core.app.ApplicationComponent
getApplication, getId, init, setApplication, shutdown
-
Methods inherited from interface com.tagtraum.beatunes.View
getComponent, getFocusRoot
-
-
-
-
Method Detail
-
update
void update(AudioSong selectedSong)
Is called when this view should be updated.- Parameters:
selectedSong- the currently selected song- See Also:
SongContextComponent.update(com.tagtraum.audiokern.AudioSong)
-
getShowHideActionId
String getShowHideActionId()
Id for the action that will show/hide this view.- Returns:
- id for a
SongContextComponentShowHideAction - See Also:
SongContextComponent.getShowHideAction()
-
-