Package com.tagtraum.beatunes.analysis
Interface TaskEditor<T extends Task>
-
- All Known Implementing Classes:
AnalyzeKeyEditor
,AnalyzeReplayGainEditor
,ComputeColorEditor
,DetectSilenceEditor
,EmptyTaskEditor
,EstimateBPMEditor
,EstimateDanceabilityEditor
,EstimateInstrumentationEditor
,EstimateMoodEditor
,FingerprintTaskEditor
,IdentifyLyricsLanguageEditor
,ImportLyricsEditor
,ImportOnlineDBMetaDataEditor
,LastFMTagsEditor
,SimilarityTaskEditor
,SongPropertyAnalysisTaskEditor
public interface TaskEditor<T extends Task>
Editor for manipulatingTask
configurations.- Author:
- Hendrik Schreiber
- See Also:
Task.createEditor()
,Task.setProperty(String, String)
,EmptyTaskEditor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BeaTunes
getApplication()
JComponent
getComponent()
Returns the main visual component, typically a JPanel.T
getTask()
Creates a new task that reflects the values set in the editor.T
getTask(T task)
Initializes the passed task with the values set in this editor.void
init()
void
setApplication(BeaTunes beaTunes)
void
setTask(T task)
Initializes this editor with the values contained in the passed task.
-
-
-
Method Detail
-
setApplication
void setApplication(BeaTunes beaTunes)
-
getApplication
BeaTunes getApplication()
-
init
void init()
-
getComponent
JComponent getComponent()
Returns the main visual component, typically a JPanel.- Returns:
- the main visual component
-
setTask
void setTask(T task)
Initializes this editor with the values contained in the passed task.- Parameters:
task
- task
-
getTask
T getTask(T task)
Initializes the passed task with the values set in this editor.- Parameters:
task
- task to adjust- Returns:
- task that reflects the values set in the editor
-
getTask
T getTask()
Creates a new task that reflects the values set in the editor.- Returns:
- new task with with editor values
-
-