Package com.tagtraum.beatunes
Class SongContextMenuFactory
- java.lang.Object
-
- com.tagtraum.beatunes.SongContextMenuFactory
-
- All Implemented Interfaces:
PopupMenuFactory
public class SongContextMenuFactory extends Object implements PopupMenuFactory
Creates a context menu for a song.- Author:
- Hendrik Schreiber
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SongContextMenuFactory.TemporaryUIRoot
-
Constructor Summary
Constructors Constructor Description SongContextMenuFactory(BeaTunes application, Object component, JTable table)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JPopupMenu
create()
Creates a popup menu.BeaTunes
getApplication()
Object
getComponent()
Component that uses this factory.PlayList
getPlayList()
AudioSong
getSong()
void
setPlayList(PlayList playList)
void
setSong(AudioSong song)
void
setSongIds(List<Long> ids)
-
-
-
Method Detail
-
getComponent
public Object getComponent()
Component that uses this factory.- Returns:
- component
-
getApplication
public BeaTunes getApplication()
-
getPlayList
public PlayList getPlayList()
-
setPlayList
public void setPlayList(PlayList playList)
-
getSong
public AudioSong getSong()
-
setSong
public void setSong(AudioSong song)
-
create
public JPopupMenu create()
Description copied from interface:PopupMenuFactory
Creates a popup menu.- Specified by:
create
in interfacePopupMenuFactory
- Returns:
- popup menu
-
-