Package com.tagtraum.core.app
Interface ApplicationComponent<T extends ApplicationComponent>
-
- All Known Subinterfaces:
SongContextView
,TaskQueue
,TransitionInspector
- All Known Implementing Classes:
AbstractMediaLibrary
,AbstractTransitionInspector
,ActionManager
,AddToCurrentPlayListAction
,AddToLibraryAction
,AddToPlayListAction
,AddToSongTablePlayListAction
,AirPlayAction
,AlbumArtistTypoInspector
,AlbumInTitleInspector
,AlbumOrArtistInTitleInspector
,AlbumTypoInspector
,AmazonAlbumVersionInspector
,AnalysisQueue
,AnalyzeAction
,AnalyzeAllAction
,AnalyzeNewAction
,ArtistInTitleInspector
,ArtistTypoInspector
,ArtworkNotEmbeddedInspector
,BaseAction
,BeaTunes
,BPMTapDialogAction
,CancelTaskAction
,CapitalizationInspector
,ChartPanel
,ChartsFullscreenAction
,ClearAllTasksAction
,ClearAmazonFileCache
,ClearSearchAction
,ClearSolutionsAction
,ColorTransition
,CommitSolutionsAction
,CompilationInspector
,ContextShop
,ContextShopBackAction
,ContextShopClearSearchAction
,ContextShopForwardAction
,ContextShopNewAction
,ContextShopRecommendAction
,CopyAction
,CutAction
,DelegatingSongContextComponent
,DeleteAllFingerprintsAction
,DeleteItemsAction
,DeletePlayListAction
,DifferentAlbumArtistInspector
,DifferentArtworkCountInspector
,DifferentGenreInspector
,DifferentLanguageInspector
,DifferentRatingInspector
,DifferentYearInspector
,DiscNumberInspector
,DislikedAction
,DoubleBPMAction
,DownloadSongAction
,DummySongContextComponent
,DuplicatesInspector
,EditAction
,EjectCDAction
,EmailSupportAction
,EmbedSpecialFieldsAction
,ExportPlayListAction
,FindAction
,FindNextAction
,FindPreviousAction
,GenreTransition
,GenreTypoInspector
,GetCurrentTrackAction
,GetCurrentTrackImageAction
,GetInfoAction
,GoToCurrentSongAction
,HalveBPMAction
,HibernateMediaLibrary
,HibernateTaskQueue
,HideSongsFromPlaylistAction
,ImportPlayListAction
,InspectAction
,Inspection
,InspectLibraryAction
,Inspector
,InspectorCategory
,InspectorView
,InternalPlayer
,IsPlayingAction
,ITunesPlayerAction
,ITunesPlayerComponent
,KeyTransition
,LanguageTransition
,LibraryBatchAction
,LikingAction
,ListActionIdsAction
,LookupWithFingerprint
,LoveCurrentTrackAction
,LovedAction
,MainWindow
,ManipulateBPMAction
,MatchSortAction
,MatchTable
,MatchTableClearFilterAction
,MediaKindInspector
,MessagePanel
,MinimizeAction
,MissingAlbumArtistInspector
,MissingFileInspector
,MissingTrackCountInspector
,MoodTransition
,MuteAction
,NewEmptyPlayListAction
,NewFileSystemLibraryAction
,NewFolderAction
,NewITunesLibraryAction
,NewMatchListFromSelectionAction
,NewPlayListAction
,NewPlayListFromSelectionAction
,NextSegmentAction
,NextSimilarityAction
,NextSongAction
,OnlineDB
,OpenArtistInFacebookAction
,OpenArtistInTwitterAction
,OpenArtistInWikidataAction
,OpenArtistInWikipediaAction
,OpenFilePropertiesAction
,OpenInAction
,OpenInExternalPlayerAction
,OpenInPreferredExternalPlayerAction
,OpenPlayListInPreferredExternalPlayerAction
,OpenSongInAcousticBrainz
,OpenSongInAmazonAction
,OpenSongInBandcampAction
,OpenSongInBeatportAction
,OpenSongInChordify
,OpenSongInDiscogsAction
,OpenSongInLastFMAction
,OpenSongInMusicBrainzAction
,OpenSongInYouTubeAction
,OpenStreamAction
,PasteAction
,PauseAction
,PausePlayAction
,PauseResumeQueueAction
,PeekSelectedAction
,PlayInITunesAction
,PlayInQuickTimeAction
,PlayListExporterComponent
,PlayListTree
,PlayNextAction
,PlaySelectedAction
,PluginManager
,PreviousSegmentAction
,PreviousSimilarityAction
,PreviousSongAction
,RarelyUsedGenreInspector
,RatingAction
,ReadOnlyFileInspector
,ReArrangePlayListAction
,RebuildDatabaseAction
,RebuildFullTextIndexAction
,RedoAction
,RefreshFromFileAction
,RegisterAction
,RemoteControlService
,RenamePlayListAction
,RepairDatabaseAction
,RepeatModeAllAction
,RepeatModeNextAction
,RepeatModeOffAction
,RepeatModeOneAction
,ScanModeBeginningAction
,ScanModeNextAction
,ScanModeOffAction
,ScanModeProminentAction
,ScanModeThirdAction
,ShareAction
,ShowAboutAction
,ShowChartsViewAction
,ShowFAQAction
,ShowGeneralPreferencesAction
,ShowHelpAction
,ShowHideContextShop
,ShowHideMatchTable
,ShowHideSideBar
,ShowHideStatusBarAction
,ShowHideWikiInfo
,ShowInFinderAction
,ShowInPlayListAction
,ShowInspectionViewAction
,ShowIssueAction
,ShowLibraryViewAction
,ShowMainWindowAction
,ShowMasterViewAction
,ShowPreferencesAction
,ShowQueueMessagePanelAction
,ShowSongMatchingPreferencesAction
,ShowTaskQueueViewAction
,ShutdownAction
,SimpleSongTable
,SingleItemInfoDialog.AutoInfoAction
,SongContextComponent
,SongContextComponentShowHideAction
,SongTable
,SortAlbumArtistInspector
,SortAlbumInspector
,SortArtistInspector
,SortByPropertyAction
,SortComposerInspector
,SortInspector
,SortNameInspector
,SortnameUsedAsAlbum
,SortnameUsedAsAlbumArtist
,SortnameUsedAsArtist
,SortnameUsedAsComposer
,SortnameUsedAsInspector
,SortnameUsedAsName
,SortShowInspector
,StartRadioWithSelectedAction
,StopAction
,SubmitFingerprintsAction
,SubmitLibraryAction
,SynchronizeAction
,TempoTransition
,TimeSignatureTransition
,TitleStartsWithTrackNumberInspector
,TypoInspector
,UndoAction
,UpdateMatchListAction
,UploadLogsAction
,VisibleColumnsAction
,VolumeDownAction
,VolumeUpAction
,WikiInfo
,YearTransition
,ZoomAction
public interface ApplicationComponent<T extends ApplicationComponent>
An application component with support for a simple lifecycle and a main application object.
beaTlets or other Java plugins may want to implement this interface in order to receive lifecycle method calls or obtain an Application reference.
- Author:
- Hendrik Schreiber
- See Also:
Plugin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getApplication()
Returns the main application component.String
getId()
Unique id for each instance of this object.void
init()
Initializes this component and its sub-components.void
setApplication(T t)
Sets the main application component.void
shutdown()
Shuts down this component and its sub-components.
-
-
-
Method Detail
-
setApplication
void setApplication(T t)
Sets the main application component.- Parameters:
t
- main application component
-
getApplication
T getApplication()
Returns the main application component.- Returns:
- application object
-
getId
String getId()
Unique id for each instance of this object.- Returns:
- id
-
init
void init()
Initializes this component and its sub-components.
-
shutdown
void shutdown() throws ShutdownVetoException
Shuts down this component and its sub-components.- Throws:
ShutdownVetoException
- if this component wants to veto the shutdown. This exception is not guaranteed to be honored, i.e. a calling component may simply ignore it
-
-